]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-omap1/time.c
Merge branch 'imx/cleanup-for-3.6' of git://git.linaro.org/people/shawnguo/linux...
[~andy/linux] / arch / arm / mach-omap1 / time.c
index 4d8dd9a1b04cedc07fb1a1e0689ae610e3188480..4062480bfec7ca6baf5237d177d77d853ba029bd 100644 (file)
@@ -232,20 +232,6 @@ static inline void omap_mpu_timer_init(void)
 }
 #endif /* CONFIG_OMAP_MPU_TIMER */
 
-static inline int omap_32k_timer_usable(void)
-{
-       int res = false;
-
-       if (cpu_is_omap730() || cpu_is_omap15xx())
-               return res;
-
-#ifdef CONFIG_OMAP_32K_TIMER
-       res = omap_32k_timer_init();
-#endif
-
-       return res;
-}
-
 /*
  * ---------------------------------------------------------------------------
  * Timer initialization
@@ -253,7 +239,7 @@ static inline int omap_32k_timer_usable(void)
  */
 static void __init omap1_timer_init(void)
 {
-       if (!omap_32k_timer_usable())
+       if (omap_32k_timer_init() != 0)
                omap_mpu_timer_init();
 }