Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eef767b7 authored by Ajay Kumar Gupta's avatar Ajay Kumar Gupta Committed by Greg Kroah-Hartman
Browse files

usb: musb: Removes compilation warning in gadget mode



Fixes compilation warning when musb is configured in gadget mode.

Signed-off-by: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 14a2c96f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);