[PATCH] Driver Core: fix up all callers of class_device_create()
[deliverable/linux.git] / drivers / usb / core / file.c
index 65ca131cc44cc8c8e13e298ea47b1bcf4022353d..78cb4be9529f0263fba47b449c361ee791a54e01 100644 (file)
@@ -172,7 +172,9 @@ int usb_register_dev(struct usb_interface *intf,
                ++temp;
        else
                temp = name;
-       intf->class_dev = class_device_create(usb_class, MKDEV(USB_MAJOR, minor), &intf->dev, "%s", temp);
+       intf->class_dev = class_device_create(usb_class, NULL,
+                                             MKDEV(USB_MAJOR, minor),
+                                             &intf->dev, "%s", temp);
        if (IS_ERR(intf->class_dev)) {
                spin_lock (&minor_lock);
                usb_minors[intf->minor] = NULL;
This page took 0.026352 seconds and 5 git commands to generate.