]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/infiniband/hw/ipath/ipath_verbs.c
IB/core: Allow device-specific per-port sysfs files
[net-next-2.6.git] / drivers / infiniband / hw / ipath / ipath_verbs.c
index 559f39be0dcc16a5b0e8ceff53005d30060c2303..dd7f26d04d46b6d9def83d3f1b1dcd8d04e75fc7 100644 (file)
@@ -2182,7 +2182,7 @@ int ipath_register_ib_device(struct ipath_devdata *dd)
        snprintf(dev->node_desc, sizeof(dev->node_desc),
                 IPATH_IDSTR " %s", init_utsname()->nodename);
 
-       ret = ib_register_device(dev);
+       ret = ib_register_device(dev, NULL);
        if (ret)
                goto err_reg;