]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/infiniband/hw/cxgb3/iwch_provider.c
IB/cxgb3: Set dev.parent instead of dma_device
[karo-tx-linux.git] / drivers / infiniband / hw / cxgb3 / iwch_provider.c
index 9d5fe1853da46e54e9d635c5d101b688f4a8119a..8db71dcb4599028c4cae0eb23dcd3393c882395a 100644 (file)
@@ -1401,7 +1401,7 @@ int iwch_register_device(struct iwch_dev *dev)
        memcpy(dev->ibdev.node_desc, IWCH_NODE_DESC, sizeof(IWCH_NODE_DESC));
        dev->ibdev.phys_port_cnt = dev->rdev.port_info.nports;
        dev->ibdev.num_comp_vectors = 1;
-       dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev);
+       dev->ibdev.dev.parent = &dev->rdev.rnic_info.pdev->dev;
        dev->ibdev.query_device = iwch_query_device;
        dev->ibdev.query_port = iwch_query_port;
        dev->ibdev.query_pkey = iwch_query_pkey;