OSDN Git Service

usb: omap1: add extcon to platform data
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 6 Dec 2013 14:13:05 +0000 (16:13 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 6 Dec 2013 20:36:37 +0000 (14:36 -0600)
Add extcon field to platform data.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <balbi@ti.com>
include/linux/platform_data/usb-omap1.h

index 8c7764d..43b5ce1 100644 (file)
@@ -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? */