diff options
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_provider.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_provider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c index f080a784bc79..1e0b4b6074ad 100644 --- a/drivers/infiniband/hw/mthca/mthca_provider.c +++ b/drivers/infiniband/hw/mthca/mthca_provider.c | |||
@@ -1403,7 +1403,7 @@ int mthca_register_device(struct mthca_dev *dev) | |||
1403 | 1403 | ||
1404 | mutex_init(&dev->cap_mask_mutex); | 1404 | mutex_init(&dev->cap_mask_mutex); |
1405 | 1405 | ||
1406 | ret = ib_register_device(&dev->ib_dev); | 1406 | ret = ib_register_device(&dev->ib_dev, NULL); |
1407 | if (ret) | 1407 | if (ret) |
1408 | return ret; | 1408 | return ret; |
1409 | 1409 | ||