summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2009-12-24 14:20:41 +0530
committerRemy Bohmer <linux@bohmer.net>2010-01-09 10:25:09 +0100
commitb301be0599d14be46fc088861bb798648844aea5 (patch)
tree25d361f75dc47b904ad5cd3cfb3578f5ea82a67a
parente608f221c13943d88e86f44753e23668342c3df3 (diff)
downloadu-boot-imx-b301be0599d14be46fc088861bb798648844aea5.zip
u-boot-imx-b301be0599d14be46fc088861bb798648844aea5.tar.gz
u-boot-imx-b301be0599d14be46fc088861bb798648844aea5.tar.bz2
omap3: fix compile warning
This patch fixes this warning during compile: omap3.c: In function 'musb_platform_init': omap3.c:126: warning: label 'end' defined but not used Problem reported by: Dirk Behme[dirk.behme@googlemail.com] Signed-off-by: Sanjeev Premi <premi@ti.com>
-rw-r--r--drivers/usb/musb/omap3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/musb/omap3.c b/drivers/usb/musb/omap3.c
index ea98c3c..3bfd0a0 100644
--- a/drivers/usb/musb/omap3.c
+++ b/drivers/usb/musb/omap3.c
@@ -123,7 +123,10 @@ int musb_platform_init(void)
}
ret = platform_needs_initialization;
+
+#ifdef CONFIG_TWL4030_USB
end:
+#endif
return ret;
}