]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/mach-omap2/common.h
Merge tag 'omap-for-v3.16/fixes-against-rc1' of git://git.kernel.org/pub/scm/linux...
[linux-beck.git] / arch / arm / mach-omap2 / common.h
index 51f6897418b7e8f52007e9040510f72cfabe7229..b2d252bf4a5383dc2e378cc686327e0ec7d7a238 100644 (file)
@@ -91,7 +91,14 @@ extern void omap3_sync32k_timer_init(void);
 extern void omap3_secure_sync32k_timer_init(void);
 extern void omap3_gptimer_timer_init(void);
 extern void omap4_local_timer_init(void);
+#ifdef CONFIG_CACHE_L2X0
 int omap_l2_cache_init(void);
+#else
+static inline int omap_l2_cache_init(void)
+{
+       return 0;
+}
+#endif
 extern void omap5_realtime_timer_init(void);
 
 void omap2420_init_early(void);