diff options
Diffstat (limited to 'drivers/usb/core/sysfs.c')
-rw-r--r-- | drivers/usb/core/sysfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sysfs.c index 9a56e3adf476..777f03c37725 100644 --- a/drivers/usb/core/sysfs.c +++ b/drivers/usb/core/sysfs.c | |||
@@ -840,7 +840,7 @@ static ssize_t show_modalias(struct device *dev, | |||
840 | alt = intf->cur_altsetting; | 840 | alt = intf->cur_altsetting; |
841 | 841 | ||
842 | return sprintf(buf, "usb:v%04Xp%04Xd%04Xdc%02Xdsc%02Xdp%02X" | 842 | return sprintf(buf, "usb:v%04Xp%04Xd%04Xdc%02Xdsc%02Xdp%02X" |
843 | "ic%02Xisc%02Xip%02X\n", | 843 | "ic%02Xisc%02Xip%02Xin%02X\n", |
844 | le16_to_cpu(udev->descriptor.idVendor), | 844 | le16_to_cpu(udev->descriptor.idVendor), |
845 | le16_to_cpu(udev->descriptor.idProduct), | 845 | le16_to_cpu(udev->descriptor.idProduct), |
846 | le16_to_cpu(udev->descriptor.bcdDevice), | 846 | le16_to_cpu(udev->descriptor.bcdDevice), |
@@ -849,7 +849,8 @@ static ssize_t show_modalias(struct device *dev, | |||
849 | udev->descriptor.bDeviceProtocol, | 849 | udev->descriptor.bDeviceProtocol, |
850 | alt->desc.bInterfaceClass, | 850 | alt->desc.bInterfaceClass, |
851 | alt->desc.bInterfaceSubClass, | 851 | alt->desc.bInterfaceSubClass, |
852 | alt->desc.bInterfaceProtocol); | 852 | alt->desc.bInterfaceProtocol, |
853 | alt->desc.bInterfaceNumber); | ||
853 | } | 854 | } |
854 | static DEVICE_ATTR(modalias, S_IRUGO, show_modalias, NULL); | 855 | static DEVICE_ATTR(modalias, S_IRUGO, show_modalias, NULL); |
855 | 856 | ||