ARM: shmobile: Use clocksource_of_init() on r8a7790
authorMagnus Damm <damm@opensource.se>
Wed, 31 Jul 2013 19:03:00 +0000 (04:03 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Aug 2013 09:07:12 +0000 (18:07 +0900)
Replace the call to shmobile_timer_init() with
clocksource_of_init(). This will allow us to
get rid of shmobile_timer_init().

Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: include linux/clocksource.h]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7790.c

index 86cf507bc9573f5f0e654159fd17846d81845497..6d4aa04107505b67a28741af012c7b6d5a8eee81 100644 (file)
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <linux/clocksource.h>
 #include <linux/irq.h>
 #include <linux/kernel.h>
 #include <linux/of_platform.h>
@@ -263,7 +264,7 @@ void __init r8a7790_timer_init(void)
        iounmap(base);
 #endif /* CONFIG_ARM_ARCH_TIMER */
 
-       shmobile_timer_init();
+       clocksource_of_init();
 }
 
 void __init r8a7790_init_delay(void)