aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-08-13 10:43:12 -0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-09-02 15:44:01 -0400
commit573145f08c2b92c45498468afbbba909f6ce6135 (patch)
treeb04251a5544f8d1d42205fc069de801999ba6a50 /arch
parent3579698e85ef9984e698ac3d8e2257a1adeeb722 (diff)
clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE
This is almost cosmetic: we achieve a bit of consistency with other clocksource drivers by using the CLOCKSOURCE_OF_DECLARE macro for the boilerplate code. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mvebu/armada-370-xp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c
index 97cbb8021919..4ea03ad41179 100644
--- a/arch/arm/mach-mvebu/armada-370-xp.c
+++ b/arch/arm/mach-mvebu/armada-370-xp.c
@@ -18,7 +18,7 @@
18#include <linux/of_address.h> 18#include <linux/of_address.h>
19#include <linux/of_platform.h> 19#include <linux/of_platform.h>
20#include <linux/io.h> 20#include <linux/io.h>
21#include <linux/time-armada-370-xp.h> 21#include <linux/clocksource.h>
22#include <linux/dma-mapping.h> 22#include <linux/dma-mapping.h>
23#include <linux/mbus.h> 23#include <linux/mbus.h>
24#include <asm/hardware/cache-l2x0.h> 24#include <asm/hardware/cache-l2x0.h>
@@ -69,7 +69,7 @@ static void __init armada_370_xp_mbus_init(void)
69static void __init armada_370_xp_timer_and_clk_init(void) 69static void __init armada_370_xp_timer_and_clk_init(void)
70{ 70{
71 of_clk_init(NULL); 71 of_clk_init(NULL);
72 armada_370_xp_timer_init(); 72 clocksource_of_init();
73 coherency_init(); 73 coherency_init();
74 armada_370_xp_mbus_init(); 74 armada_370_xp_mbus_init();
75#ifdef CONFIG_CACHE_L2X0 75#ifdef CONFIG_CACHE_L2X0