diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2014-11-10 10:32:12 +0100 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-11-10 10:38:41 +0100 |
commit | b75d47b4772c199225a351f3b8543e6e16b9c08b (patch) | |
tree | 9043f2438dbb6536aba1eaf3115c74adac1cc25d /arch/arm/mach-at91/at91sam9g45.c | |
parent | ARM: at91: fix build breakage due to legacy board removals (diff) | |
download | linux-b75d47b4772c199225a351f3b8543e6e16b9c08b.tar.xz linux-b75d47b4772c199225a351f3b8543e6e16b9c08b.zip |
ARM: at91: remove useless init_time for DT-only SoCs
init_time is only needed when booting non-DT boards, we can thus safely
remove init_time functions.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index 042f7c623c8f..2ad0db4caa9b 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c @@ -11,7 +11,6 @@ */ #include <asm/system_misc.h> -#include <asm/irq.h> #include <mach/cpu.h> #include <mach/hardware.h> @@ -35,13 +34,7 @@ static void __init at91sam9g45_initialize(void) at91_sysirq_mask_rtt(AT91SAM9G45_BASE_RTT); } -static void __init at91sam9g45_init_time(void) -{ - at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS); -} - AT91_SOC_START(at91sam9g45) .map_io = at91sam9g45_map_io, .init = at91sam9g45_initialize, - .init_time = at91sam9g45_init_time, AT91_SOC_END |