diff options
-rw-r--r-- | drivers/usb/core/usb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index c231b4bef314..25cf7e9eccfa 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c | |||
@@ -611,11 +611,10 @@ static int usb_hotplug (struct device *dev, char **envp, int num_envp, | |||
611 | 611 | ||
612 | if (add_hotplug_env_var(envp, num_envp, &i, | 612 | if (add_hotplug_env_var(envp, num_envp, &i, |
613 | buffer, buffer_size, &length, | 613 | buffer, buffer_size, &length, |
614 | "MODALIAS=usb:v%04Xp%04Xdl%04Xdh%04Xdc%02Xdsc%02Xdp%02Xic%02Xisc%02Xip%02X", | 614 | "MODALIAS=usb:v%04Xp%04Xd%04Xdc%02Xdsc%02Xdp%02Xic%02Xisc%02Xip%02X", |
615 | le16_to_cpu(usb_dev->descriptor.idVendor), | 615 | le16_to_cpu(usb_dev->descriptor.idVendor), |
616 | le16_to_cpu(usb_dev->descriptor.idProduct), | 616 | le16_to_cpu(usb_dev->descriptor.idProduct), |
617 | le16_to_cpu(usb_dev->descriptor.bcdDevice), | 617 | le16_to_cpu(usb_dev->descriptor.bcdDevice), |
618 | le16_to_cpu(usb_dev->descriptor.bcdDevice), | ||
619 | usb_dev->descriptor.bDeviceClass, | 618 | usb_dev->descriptor.bDeviceClass, |
620 | usb_dev->descriptor.bDeviceSubClass, | 619 | usb_dev->descriptor.bDeviceSubClass, |
621 | usb_dev->descriptor.bDeviceProtocol, | 620 | usb_dev->descriptor.bDeviceProtocol, |
@@ -626,11 +625,10 @@ static int usb_hotplug (struct device *dev, char **envp, int num_envp, | |||
626 | } else { | 625 | } else { |
627 | if (add_hotplug_env_var(envp, num_envp, &i, | 626 | if (add_hotplug_env_var(envp, num_envp, &i, |
628 | buffer, buffer_size, &length, | 627 | buffer, buffer_size, &length, |
629 | "MODALIAS=usb:v%04Xp%04Xdl%04Xdh%04Xdc%02Xdsc%02Xdp%02Xic*isc*ip*", | 628 | "MODALIAS=usb:v%04Xp%04Xd%04Xdc%02Xdsc%02Xdp%02Xic*isc*ip*", |
630 | le16_to_cpu(usb_dev->descriptor.idVendor), | 629 | le16_to_cpu(usb_dev->descriptor.idVendor), |
631 | le16_to_cpu(usb_dev->descriptor.idProduct), | 630 | le16_to_cpu(usb_dev->descriptor.idProduct), |
632 | le16_to_cpu(usb_dev->descriptor.bcdDevice), | 631 | le16_to_cpu(usb_dev->descriptor.bcdDevice), |
633 | le16_to_cpu(usb_dev->descriptor.bcdDevice), | ||
634 | usb_dev->descriptor.bDeviceClass, | 632 | usb_dev->descriptor.bDeviceClass, |
635 | usb_dev->descriptor.bDeviceSubClass, | 633 | usb_dev->descriptor.bDeviceSubClass, |
636 | usb_dev->descriptor.bDeviceProtocol)) | 634 | usb_dev->descriptor.bDeviceProtocol)) |