summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@gmail.com>2015-05-27 17:55:59 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:23:50 -0500
commit9c75f00e604519dc0c1c645f58ea1dd9ca7ac20b (patch)
treec3991680ebd61a64e45869dc8f32cbc699255262 /include
parent48f41a085b8a86d3b9bc591fc94de353571e5a65 (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.h1
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 */
/*-------------------------------------------------------------------------*/