]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
omap3: fix compile warning
authorSanjeev Premi <premi@ti.com>
Thu, 24 Dec 2009 08:50:41 +0000 (14:20 +0530)
committerRemy Bohmer <linux@bohmer.net>
Sat, 9 Jan 2010 09:25:09 +0000 (10:25 +0100)
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>
drivers/usb/musb/omap3.c

index ea98c3cac172efe82037cfb84a9bdcf5f65a9cef..3bfd0a085f8e353376bb8218534ccb59f900fe36 100644 (file)
@@ -123,7 +123,10 @@ int musb_platform_init(void)
        }
 
        ret = platform_needs_initialization;
+
+#ifdef CONFIG_TWL4030_USB
 end:
+#endif
        return ret;
 
 }