Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310907
b: refs/heads/master
c: 0b84704
h: refs/heads/master
i:
  310905: de40eab
  310903: 36aeb4f
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Jun 13, 2012
1 parent 3e312fb commit 80e0643
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 954c3f8a5f1b7716be9eee978b3bc85bae92d7c8
refs/heads/master: 0b84704a2d6fdf55a3dcdd2a1f2ac8b48913c84b
10 changes: 2 additions & 8 deletions trunk/drivers/usb/serial/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ MODULE_PARM_DESC(product, "User specified USB idProduct");

static struct usb_device_id generic_device_ids[2]; /* Initially all zeroes. */

/* we want to look at all devices, as the vendor/product id can change
* depending on the command line argument */
static const struct usb_device_id generic_serial_ids[] = {
{.driver_info = 42},
{}
};

/* All of the device info needed for the Generic Serial Converter */
struct usb_serial_driver usb_serial_generic_device = {
.driver = {
Expand Down Expand Up @@ -79,7 +72,8 @@ int usb_serial_generic_register(int _debug)
USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;

/* register our generic driver with ourselves */
retval = usb_serial_register_drivers(serial_drivers, "usbserial_generic", generic_serial_ids);
retval = usb_serial_register_drivers(serial_drivers,
"usbserial_generic", generic_device_ids);
#endif
return retval;
}
Expand Down

0 comments on commit 80e0643

Please sign in to comment.