MUSB: Removes compilation warning in gadget mode
PATCH 1/1 MUSB: Removes compilation warning in gadget mode
Fixes compilation warning when musb is configured in gadget mode.
Signed-off-by Ajay Kumar Gupta <[email protected]>
--- drivers/usb/musb/omap2430.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/usb/musb/omap2430.c +2 -0
@@ -53,7 +53,9 @@ static void musb_do_idle(unsigned long _musb) {struct musb *musb = (void *)_musb;unsigned long flags; +#ifdef CONFIG_USB_MUSB_HDRC_HCD u8 power; +#endif u8 devctl; devctl =musb_readb (musb->mregs,MUSB_DEVCTL );
Signature · 6 lines
1.5.6 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Ajay Kumar Gupta
Fixes compilation warning when musb is configured in gadget mode.
Signed-off-by Ajay Kumar Gupta <[email protected]>
Acked-by Felipe Balbi <[email protected]>
Quoted 20 lines
--- drivers/usb/musb/omap2430.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)drivers/usb/musb/omap2430.c +2
-0@@ -53,7 +53,9 @@ static void musb_do_idle(unsigned long _musb) {struct musb *musb = (void *)_musb;unsigned long flags; +#ifdef CONFIG_USB_MUSB_HDRC_HCD u8 power; +#endif u8 devctl; devctl =musb_readb (musb->mregs,MUSB_DEVCTL );Signature · 1 line
1.5.6
Signature · 1 line
balbi