diff options
Diffstat (limited to 'drivers/infiniband/core/ucm.c')
-rw-r--r-- | drivers/infiniband/core/ucm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c index e0a995b85a2d..cc0d51fb06e3 100644 --- a/drivers/infiniband/core/ucm.c +++ b/drivers/infiniband/core/ucm.c | |||
@@ -1290,7 +1290,7 @@ static void ib_ucm_add_one(struct ib_device *device) | |||
1290 | goto err; | 1290 | goto err; |
1291 | 1291 | ||
1292 | ucm_dev->dev.class = &cm_class; | 1292 | ucm_dev->dev.class = &cm_class; |
1293 | ucm_dev->dev.parent = device->dma_device; | 1293 | ucm_dev->dev.parent = device->dev.parent; |
1294 | ucm_dev->dev.devt = ucm_dev->cdev.dev; | 1294 | ucm_dev->dev.devt = ucm_dev->cdev.dev; |
1295 | ucm_dev->dev.release = ib_ucm_release_dev; | 1295 | ucm_dev->dev.release = ib_ucm_release_dev; |
1296 | dev_set_name(&ucm_dev->dev, "ucm%d", ucm_dev->devnum); | 1296 | dev_set_name(&ucm_dev->dev, "ucm%d", ucm_dev->devnum); |