diff options
author | Parav Pandit <parav@mellanox.com> | 2019-06-28 22:36:00 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-07-01 16:40:30 -0700 |
commit | d22663edacdfb292e7132989de93bf2828cac493 (patch) | |
tree | 636557ad2d667ee990b28ef1ede30a6df903f425 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | 386e75af995c3aec475a2185b919bf46af396bfc (diff) |
net/mlx5: Move pci status reg access mutex to mlx5_pci_init
mlx5_pci_init() performs pci specific initialization of the
mlx5_core_dev struct.
Hence move pci_status_mutex to pci initialization routine
mlx5_pci_init().
This allows reusing mlx5_mdev_init() to non PCI devices.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Vu Pham <vuhuong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions