Commit d08868a1 authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

IB/cxgb4: Set dev.parent instead of dma_device

Prepare for removal of ib_device.dma_device.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Cc: Hariprasad S <hariprasad@chelsio.com>
Acked-by: default avatarSteve Wise <swise@chelsio.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 91f734b4
......@@ -569,7 +569,7 @@ int c4iw_register_device(struct c4iw_dev *dev)
memcpy(dev->ibdev.node_desc, C4IW_NODE_DESC, sizeof(C4IW_NODE_DESC));
dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports;
dev->ibdev.num_comp_vectors = dev->rdev.lldi.nciq;
dev->ibdev.dma_device = &(dev->rdev.lldi.pdev->dev);
dev->ibdev.dev.parent = &dev->rdev.lldi.pdev->dev;
dev->ibdev.query_device = c4iw_query_device;
dev->ibdev.query_port = c4iw_query_port;
dev->ibdev.query_pkey = c4iw_query_pkey;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment