diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2008-10-29 15:10:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 14:45:01 -0800 |
commit | eef767b761bdd08200fbbfc910ab815d03787326 (patch) | |
tree | f8a530869152bcb0860dc2395038fe38eab781a9 /drivers/usb/musb | |
parent | 14a2c96f72e0939cb817b6624346b0161b5603db (diff) | |
download | linux-eef767b761bdd08200fbbfc910ab815d03787326.tar.gz linux-eef767b761bdd08200fbbfc910ab815d03787326.tar.bz2 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/musb')
-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); |