diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/ucma.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c index b3fa798525b2..3170899dab01 100644 --- a/drivers/infiniband/core/ucma.c +++ b/drivers/infiniband/core/ucma.c | |||
@@ -1338,9 +1338,11 @@ static const struct file_operations ucma_fops = { | |||
1338 | }; | 1338 | }; |
1339 | 1339 | ||
1340 | static struct miscdevice ucma_misc = { | 1340 | static struct miscdevice ucma_misc = { |
1341 | .minor = MISC_DYNAMIC_MINOR, | 1341 | .minor = MISC_DYNAMIC_MINOR, |
1342 | .name = "rdma_cm", | 1342 | .name = "rdma_cm", |
1343 | .fops = &ucma_fops, | 1343 | .nodename = "infiniband/rdma_cm", |
1344 | .mode = 0666, | ||
1345 | .fops = &ucma_fops, | ||
1344 | }; | 1346 | }; |
1345 | 1347 | ||
1346 | static ssize_t show_abi_version(struct device *dev, | 1348 | static ssize_t show_abi_version(struct device *dev, |