aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-09-30 05:01:22 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:21:51 -0700
commit1b62d2583963d5974974aa923214bada7aa7b5d1 (patch)
treef4b9360d875d9a943b51cf0d3e27123deb6a9ecb /drivers/usb/misc
parent6bc235a2e24a5ef677daee3fd4f74f6cd643e23c (diff)
downloadkernel_goldelico_gta04-1b62d2583963d5974974aa923214bada7aa7b5d1.zip
kernel_goldelico_gta04-1b62d2583963d5974974aa923214bada7aa7b5d1.tar.gz
kernel_goldelico_gta04-1b62d2583963d5974974aa923214bada7aa7b5d1.tar.bz2
USB: yurex: assign a real minor number to the driver
This assigns the minor number 192 to the yurex driver. We also fix up the previous usb minor number entry, it was wrong. Cc: Tomoki Sekiyama <tomoki.sekiyama@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/yurex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c
index 76b8ab4..5f6443b 100644
--- a/drivers/usb/misc/yurex.c
+++ b/drivers/usb/misc/yurex.c
@@ -47,9 +47,9 @@ static struct usb_device_id yurex_table[] = {
MODULE_DEVICE_TABLE(usb, yurex_table);
#ifdef CONFIG_USB_DYNAMIC_MINORS
-#define YUREX_MINOR_BASE 0
+#define YUREX_MINOR_BASE 0
#else
-#define YUREX_MINOR_BASE 224 /* not official yet */
+#define YUREX_MINOR_BASE 192
#endif
/* Structure to hold all of our device specific stuff */