diff options
| author | Frans Pop <elendil@planet.nl> | 2009-06-26 10:10:19 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-12 18:16:39 -0400 |
| commit | bf7fbb022f0a3da27a2bcf8d7c973c813d942384 (patch) | |
| tree | 13e74291c605af4d62f84774f90eccac699d8fa8 | |
| parent | d794a02111cd3393da69bc7d6dd2b6074bd037cc (diff) | |
USB: add missing class descriptions used in usb/devices file
Added descriptions (for WIRELESS_CONTROLLER and MISC) were taken from
the usb-devices script now included in usbutils.
Also sort the classes in the same order as in include/linux/usb/ch9.h
for easier comparison for future updates.
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| -rw-r--r-- | drivers/usb/core/devices.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/usb/core/devices.c b/drivers/usb/core/devices.c index 73c108d117b4..96f11715cd26 100644 --- a/drivers/usb/core/devices.c +++ b/drivers/usb/core/devices.c | |||
| @@ -136,17 +136,19 @@ static const struct class_info clas_info[] = | |||
| 136 | {USB_CLASS_AUDIO, "audio"}, | 136 | {USB_CLASS_AUDIO, "audio"}, |
| 137 | {USB_CLASS_COMM, "comm."}, | 137 | {USB_CLASS_COMM, "comm."}, |
| 138 | {USB_CLASS_HID, "HID"}, | 138 | {USB_CLASS_HID, "HID"}, |
| 139 | {USB_CLASS_HUB, "hub"}, | ||
| 140 | {USB_CLASS_PHYSICAL, "PID"}, | 139 | {USB_CLASS_PHYSICAL, "PID"}, |
| 140 | {USB_CLASS_STILL_IMAGE, "still"}, | ||
| 141 | {USB_CLASS_PRINTER, "print"}, | 141 | {USB_CLASS_PRINTER, "print"}, |
| 142 | {USB_CLASS_MASS_STORAGE, "stor."}, | 142 | {USB_CLASS_MASS_STORAGE, "stor."}, |
| 143 | {USB_CLASS_HUB, "hub"}, | ||
| 143 | {USB_CLASS_CDC_DATA, "data"}, | 144 | {USB_CLASS_CDC_DATA, "data"}, |
| 144 | {USB_CLASS_APP_SPEC, "app."}, | ||
| 145 | {USB_CLASS_VENDOR_SPEC, "vend."}, | ||
| 146 | {USB_CLASS_STILL_IMAGE, "still"}, | ||
| 147 | {USB_CLASS_CSCID, "scard"}, | 145 | {USB_CLASS_CSCID, "scard"}, |
| 148 | {USB_CLASS_CONTENT_SEC, "c-sec"}, | 146 | {USB_CLASS_CONTENT_SEC, "c-sec"}, |
| 149 | {USB_CLASS_VIDEO, "video"}, | 147 | {USB_CLASS_VIDEO, "video"}, |
| 148 | {USB_CLASS_WIRELESS_CONTROLLER, "wlcon"}, | ||
| 149 | {USB_CLASS_MISC, "misc"}, | ||
| 150 | {USB_CLASS_APP_SPEC, "app."}, | ||
| 151 | {USB_CLASS_VENDOR_SPEC, "vend."}, | ||
| 150 | {-1, "unk."} /* leave as last */ | 152 | {-1, "unk."} /* leave as last */ |
| 151 | }; | 153 | }; |
| 152 | 154 | ||
