mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 09:24:37 +07:00
IB/qib: Switch from dma_device to dev.parent
Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Latif <faisal.latif@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
69117101f9
commit
989ab358f7
@ -1632,7 +1632,7 @@ int qib_register_ib_device(struct qib_devdata *dd)
|
||||
ibdev->owner = THIS_MODULE;
|
||||
ibdev->node_guid = ppd->guid;
|
||||
ibdev->phys_port_cnt = dd->num_pports;
|
||||
ibdev->dma_device = &dd->pcidev->dev;
|
||||
ibdev->dev.parent = &dd->pcidev->dev;
|
||||
ibdev->modify_device = qib_modify_device;
|
||||
ibdev->process_mad = qib_process_mad;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user