diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-30 08:01:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:21:51 -0400 |
commit | 1b62d2583963d5974974aa923214bada7aa7b5d1 (patch) | |
tree | f4b9360d875d9a943b51cf0d3e27123deb6a9ecb | |
parent | 6bc235a2e24a5ef677daee3fd4f74f6cd643e23c (diff) |
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>
-rw-r--r-- | Documentation/devices.txt | 5 | ||||
-rw-r--r-- | drivers/usb/misc/yurex.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/devices.txt b/Documentation/devices.txt index d0d1df6cb5de..3cab6b342017 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt | |||
@@ -2553,7 +2553,10 @@ Your cooperation is appreciated. | |||
2553 | 175 = /dev/usb/legousbtower15 16th USB Legotower device | 2553 | 175 = /dev/usb/legousbtower15 16th USB Legotower device |
2554 | 176 = /dev/usb/usbtmc1 First USB TMC device | 2554 | 176 = /dev/usb/usbtmc1 First USB TMC device |
2555 | ... | 2555 | ... |
2556 | 192 = /dev/usb/usbtmc16 16th USB TMC device | 2556 | 191 = /dev/usb/usbtmc16 16th USB TMC device |
2557 | 192 = /dev/usb/yurex1 First USB Yurex device | ||
2558 | ... | ||
2559 | 209 = /dev/usb/yurex16 16th USB Yurex device | ||
2557 | 240 = /dev/usb/dabusb0 First daubusb device | 2560 | 240 = /dev/usb/dabusb0 First daubusb device |
2558 | ... | 2561 | ... |
2559 | 243 = /dev/usb/dabusb3 Fourth dabusb device | 2562 | 243 = /dev/usb/dabusb3 Fourth dabusb device |
diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c index 76b8ab47fe04..5f6443bc6142 100644 --- a/drivers/usb/misc/yurex.c +++ b/drivers/usb/misc/yurex.c | |||
@@ -47,9 +47,9 @@ static struct usb_device_id yurex_table[] = { | |||
47 | MODULE_DEVICE_TABLE(usb, yurex_table); | 47 | MODULE_DEVICE_TABLE(usb, yurex_table); |
48 | 48 | ||
49 | #ifdef CONFIG_USB_DYNAMIC_MINORS | 49 | #ifdef CONFIG_USB_DYNAMIC_MINORS |
50 | #define YUREX_MINOR_BASE 0 | 50 | #define YUREX_MINOR_BASE 0 |
51 | #else | 51 | #else |
52 | #define YUREX_MINOR_BASE 224 /* not official yet */ | 52 | #define YUREX_MINOR_BASE 192 |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | /* Structure to hold all of our device specific stuff */ | 55 | /* Structure to hold all of our device specific stuff */ |