[PATCH] USB: ehci fix driver model wakeup flags
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / usb / usb-skeleton.c
index 353f24d..6c3a53f 100644 (file)
@@ -223,9 +223,8 @@ static struct file_operations skel_fops = {
  * and to have the device registered with devfs and the driver core
  */
 static struct usb_class_driver skel_class = {
-       .name =         "usb/skel%d",
+       .name =         "skel%d",
        .fops =         &skel_fops,
-       .mode =         S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH,
        .minor_base =   USB_SKEL_MINOR_BASE,
 };