Explorar el Código

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>
Sanjeev Premi hace 15 años
padre
commit
b301be0599
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      drivers/usb/musb/omap3.c

+ 3 - 0
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;
 
 }