OSDN Git Service

greybus: es2: fix USB id to not be the same as ES1
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 2 Mar 2015 16:52:07 +0000 (08:52 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 2 Mar 2015 16:52:07 +0000 (08:52 -0800)
We don't want to bind to the ES1 device, that would be bad.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es2.c

index 4154cce..d8d45be 100644 (file)
@@ -29,8 +29,8 @@
 #define ES1_GBUF_MSG_SIZE_MAX  PAGE_SIZE
 
 static const struct usb_device_id id_table[] = {
-       /* Made up numbers for the SVC USB Bridge in ES1 */
-       { USB_DEVICE(0xffff, 0x0001) },
+       /* Made up numbers for the SVC USB Bridge in ES2 */
+       { USB_DEVICE(0xffff, 0x0002) },
        { },
 };
 MODULE_DEVICE_TABLE(usb, id_table);