[PATCH v4 2/4] USB: OMAP1: add extcon to platform data

Aaro Koskinen aaro.koskinen at iki.fi
Fri Dec 6 09:13:05 EST 2013


Add extcon field to platform data.

Signed-off-by: Aaro Koskinen <aaro.koskinen at iki.fi>
---
 include/linux/platform_data/usb-omap1.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/platform_data/usb-omap1.h b/include/linux/platform_data/usb-omap1.h
index 8c7764ddd284..43b5ce139c37 100644
--- a/include/linux/platform_data/usb-omap1.h
+++ b/include/linux/platform_data/usb-omap1.h
@@ -23,6 +23,8 @@ struct omap_usb_config {
 	unsigned	register_dev:1;
 	u8		otg;	/* port number, 1-based:  usb1 == 2 */
 
+	const char	*extcon;	/* extcon device for OTG */
+
 	u8		hmc_mode;
 
 	/* implicitly true if otg:  host supports remote wakeup? */
-- 
1.8.4.4




More information about the linux-arm-kernel mailing list