diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2008-10-29 14:10:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 23:45:01 +0100 |
commit | eef767b761bdd08200fbbfc910ab815d03787326 (patch) | |
tree | f8a530869152bcb0860dc2395038fe38eab781a9 /drivers/usb | |
parent | usb: musb: tusb6010: kill compile warning (diff) | |
download | linux-eef767b761bdd08200fbbfc910ab815d03787326.tar.xz linux-eef767b761bdd08200fbbfc910ab815d03787326.zip |
usb: musb: Removes compilation warning in gadget mode
Fixes compilation warning when musb is configured in gadget mode.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 9d2dcb121c5e..ce6c162920f7 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c @@ -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); |