RDMA: Rename port_callback to init_port
[linux-block.git] / drivers / infiniband / hw / ocrdma / ocrdma_main.c
index 1f393842453aad54316a325b866f3895eed10422..f45b996f617fae5ee0cc8373d22cd8f281cfa36c 100644 (file)
@@ -243,7 +243,7 @@ static int ocrdma_register_device(struct ocrdma_dev *dev)
        }
        rdma_set_device_sysfs_group(&dev->ibdev, &ocrdma_attr_group);
        dev->ibdev.driver_id = RDMA_DRIVER_OCRDMA;
-       return ib_register_device(&dev->ibdev, "ocrdma%d", NULL);
+       return ib_register_device(&dev->ibdev, "ocrdma%d");
 }
 
 static int ocrdma_alloc_resources(struct ocrdma_dev *dev)