summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-dt-sam9.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-09-02 18:02:26 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-09-03 10:55:42 +0200
commitbc1aeaeb75f169f870573f6d4e517f925269de4a (patch)
tree0af98d46169531dbbcfc71f0ffadac8de787142b /arch/arm/mach-at91/board-dt-sam9.c
parentARM: at91: PIT: Rework probe functions (diff)
downloadlinux-bc1aeaeb75f169f870573f6d4e517f925269de4a.tar.xz
linux-bc1aeaeb75f169f870573f6d4e517f925269de4a.zip
ARM: at91: dt: Remove init_time definitions
The current AT91 DT boards have a completely generic init_time definition. Remove them from the machine declaration. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Conflicts: arch/arm/mach-at91/board-dt-sam9.c arch/arm/mach-at91/board-dt-sama5.c
Diffstat (limited to 'arch/arm/mach-at91/board-dt-sam9.c')
-rw-r--r--arch/arm/mach-at91/board-dt-sam9.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-at91/board-dt-sam9.c b/arch/arm/mach-at91/board-dt-sam9.c
index 78962fd23859..d3048ccdc41f 100644
--- a/arch/arm/mach-at91/board-dt-sam9.c
+++ b/arch/arm/mach-at91/board-dt-sam9.c
@@ -14,7 +14,6 @@
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/clk-provider.h>
-#include <linux/clocksource.h>
#include <asm/setup.h>
#include <asm/irq.h>
@@ -26,15 +25,6 @@
#include "board.h"
#include "generic.h"
-
-static void __init sam9_dt_timer_init(void)
-{
-#if defined(CONFIG_COMMON_CLK)
- of_clk_init(NULL);
-#endif
- clocksource_of_init();
-}
-
static const char *at91_dt_board_compat[] __initdata = {
"atmel,at91sam9",
NULL
@@ -42,7 +32,6 @@ static const char *at91_dt_board_compat[] __initdata = {
DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM (Device Tree)")
/* Maintainer: Atmel */
- .init_time = sam9_dt_timer_init,
.map_io = at91_map_io,
.init_early = at91_dt_initialize,
.dt_compat = at91_dt_board_compat,