Skip to content

Commit

Permalink
USB: yurex: assign a real minor number to the driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 22, 2010
1 parent 6bc235a commit 1b62d25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Documentation/devices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,10 @@ Your cooperation is appreciated.
175 = /dev/usb/legousbtower15 16th USB Legotower device
176 = /dev/usb/usbtmc1 First USB TMC device
...
192 = /dev/usb/usbtmc16 16th USB TMC device
191 = /dev/usb/usbtmc16 16th USB TMC device
192 = /dev/usb/yurex1 First USB Yurex device
...
209 = /dev/usb/yurex16 16th USB Yurex device
240 = /dev/usb/dabusb0 First daubusb device
...
243 = /dev/usb/dabusb3 Fourth dabusb device
Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/misc/yurex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1b62d25

Please sign in to comment.