Use struct usb_otg members with OTG specific functions instead of usb_phy members. Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/mach-imx/mx31moboard-devboard.c | 2 +- arch/arm/mach-imx/mx31moboard-marxbot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/mx31moboard-devboard.c b/arch/arm/mach-imx/mx31moboard-devboard.c index 9cd4a97..cb792d0 100644 --- a/arch/arm/mach-imx/mx31moboard-devboard.c +++ b/arch/arm/mach-imx/mx31moboard-devboard.c @@ -203,7 +203,7 @@ static int __init devboard_usbh1_init(void) otg->label = "ISP1105"; otg->init = devboard_isp1105_init; - otg->set_vbus = devboard_isp1105_set_vbus; + otg->otg->set_vbus = devboard_isp1105_set_vbus; usbh1_pdata.otg = otg; diff --git a/arch/arm/mach-imx/mx31moboard-marxbot.c b/arch/arm/mach-imx/mx31moboard-marxbot.c index 2be769b..f921e47 100644 --- a/arch/arm/mach-imx/mx31moboard-marxbot.c +++ b/arch/arm/mach-imx/mx31moboard-marxbot.c @@ -317,7 +317,7 @@ static int __init marxbot_usbh1_init(void) otg->label = "ISP1105"; otg->init = marxbot_isp1105_init; - otg->set_vbus = marxbot_isp1105_set_vbus; + otg->otg->set_vbus = marxbot_isp1105_set_vbus; usbh1_pdata.otg = otg; -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html