diff options
author | Macpaul Lin <macpaul@gmail.com> | 2015-05-27 17:55:59 +0800 |
---|---|---|
committer | Li Jun <jun.li@freescale.com> | 2015-07-07 11:18:29 +0800 |
commit | 7775cc3c4cb8740d98d4a79b9152898fc5472e2a (patch) | |
tree | ecf193dfee60d7b4c62b041832bf2bbd543fd4f8 /include | |
parent | 34c14f444ba653832d0b7d6f5bc747c047b576bb (diff) |
MLK-11123-2 usb: add USB_OTG_ADP definition
Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes.
Signed-off-by: Macpaul Lin <macpaul@gmail.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/usb/ch9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h index 69abccf38ece..53d139f80c69 100644 --- a/include/uapi/linux/usb/ch9.h +++ b/include/uapi/linux/usb/ch9.h @@ -699,6 +699,7 @@ struct usb_otg20_descriptor { /* from usb_otg_descriptor.bmAttributes */ #define USB_OTG_SRP (1 << 0) #define USB_OTG_HNP (1 << 1) /* swap host/device roles */ +#define USB_OTG_ADP (1 << 2) /* support ADP */ /*-------------------------------------------------------------------------*/ |