From: Macpaul Lin Date: Thu, 9 Jul 2015 07:18:39 +0000 (+0800) Subject: usb: add USB_OTG_ADP definition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d701cef9b40188c11c39be3a401bc4feeb154b8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb: add USB_OTG_ADP definition Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes. Signed-off-by: Macpaul Lin Signed-off-by: Li Jun Acked-by: Peter Chen Signed-off-by: Felipe Balbi --- diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h index aec689941c18..f7adc6e01f9e 100644 --- a/include/uapi/linux/usb/ch9.h +++ b/include/uapi/linux/usb/ch9.h @@ -688,6 +688,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 */ /*-------------------------------------------------------------------------*/