diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 16:04:28 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 12:23:35 -0500 |
commit | a62ef9a7d2542fff44f9ca68a730e3d1677b7040 (patch) | |
tree | c1907022b5c775cca14f979a07fffd088eb28ff4 | |
parent | 6b06d52dbe79ebd2ef2715a5cd1c62ca367e3776 (diff) |
IB/vmw_pvrdma: 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: Adit Ranadive <aditr@vmware.com>
Cc: VMware PV-Drivers <pv-drivers@vmware.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c index 231a1ce1f4be..214793d51409 100644 --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | |||
@@ -172,7 +172,7 @@ static int pvrdma_register_device(struct pvrdma_dev *dev) | |||
172 | dev->flags = 0; | 172 | dev->flags = 0; |
173 | dev->ib_dev.owner = THIS_MODULE; | 173 | dev->ib_dev.owner = THIS_MODULE; |
174 | dev->ib_dev.num_comp_vectors = 1; | 174 | dev->ib_dev.num_comp_vectors = 1; |
175 | dev->ib_dev.dma_device = &dev->pdev->dev; | 175 | dev->ib_dev.dev.parent = &dev->pdev->dev; |
176 | dev->ib_dev.uverbs_abi_ver = PVRDMA_UVERBS_ABI_VERSION; | 176 | dev->ib_dev.uverbs_abi_ver = PVRDMA_UVERBS_ABI_VERSION; |
177 | dev->ib_dev.uverbs_cmd_mask = | 177 | dev->ib_dev.uverbs_cmd_mask = |
178 | (1ull << IB_USER_VERBS_CMD_GET_CONTEXT) | | 178 | (1ull << IB_USER_VERBS_CMD_GET_CONTEXT) | |