Skip to content

Commit

Permalink
USB: Move vendor subclass definition from usb/audio.h to usb/ch9.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 85e08ca commit 315ad30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/usb/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions include/linux/usb/ch9.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 315ad30

Please sign in to comment.