USB: Move vendor subclass definition from usb/audio.h to usb/ch9.h
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sun, 21 Jun 2009 21:20:39 +0000 (23:20 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:19 +0000 (06:46 -0700)
USB_SUBCLASS_VENDOR_SPEC is common to several USB classes and as such belongs
to usb/ch9.h.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb/audio.h
include/linux/usb/ch9.h

index bcf4fb4f5e8250656ed0a6ed2795b058a08a0fc0..f75092aba02f0d01e71b16a080de3ae6e452f381 100644 (file)
@@ -24,7 +24,6 @@
 #define USB_SUBCLASS_AUDIOCONTROL      0x01
 #define USB_SUBCLASS_AUDIOSTREAMING    0x02
 #define USB_SUBCLASS_MIDISTREAMING     0x03
-#define USB_SUBCLASS_VENDOR_SPEC       0xff
 
 /* A.5 Audio Class-Specific AC interface Descriptor Subtypes*/
 #define HEADER                         0x01
index 8f8b7411b87baf51b7ed59e6ebd8f4514800205b..94012e649d86ce18f0a5dedc2511abeead1f46d6 100644 (file)
@@ -258,6 +258,8 @@ struct usb_device_descriptor {
 #define USB_CLASS_APP_SPEC             0xfe
 #define USB_CLASS_VENDOR_SPEC          0xff
 
+#define USB_SUBCLASS_VENDOR_SPEC       0xff
+
 /*-------------------------------------------------------------------------*/
 
 /* USB_DT_CONFIG: Configuration descriptor information.