aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/ipath/ipath_verbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.c b/drivers/infiniband/hw/ipath/ipath_verbs.c
index c38f9aa8be8d..c43f2d286f8f 100644
--- a/drivers/infiniband/hw/ipath/ipath_verbs.c
+++ b/drivers/infiniband/hw/ipath/ipath_verbs.c
@@ -2067,7 +2067,7 @@ int ipath_register_ib_device(struct ipath_devdata *dd)
2067 dev->phys_port_cnt = 1; 2067 dev->phys_port_cnt = 1;
2068 dev->num_comp_vectors = 1; 2068 dev->num_comp_vectors = 1;
2069 dev->dma_device = &dd->pcidev->dev; 2069 dev->dma_device = &dd->pcidev->dev;
2070 dev->class_dev.dev = dev->dma_device; 2070 dev->dev.parent = dev->dma_device;
2071 dev->query_device = ipath_query_device; 2071 dev->query_device = ipath_query_device;
2072 dev->modify_device = ipath_modify_device; 2072 dev->modify_device = ipath_modify_device;
2073 dev->query_port = ipath_query_port; 2073 dev->query_port = ipath_query_port;