diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 22:04:26 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 18:23:35 +0100 |
commit | 989ab358f795998e1e889884c14503ee8101f867 (patch) | |
tree | 948261c7ef8d72d65dcb2ca33a67448caf6864b4 /drivers/infiniband/hw | |
parent | IB/qedr: Switch from dma_device to dev.parent (diff) | |
download | linux-989ab358f795998e1e889884c14503ee8101f867.tar.xz linux-989ab358f795998e1e889884c14503ee8101f867.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_verbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_verbs.c b/drivers/infiniband/hw/qib/qib_verbs.c index 4b54c0ddd08a..24ed82f3592f 100644 --- a/drivers/infiniband/hw/qib/qib_verbs.c +++ b/drivers/infiniband/hw/qib/qib_verbs.c @@ -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; |