diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-09-02 12:05:04 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-09-03 04:55:45 -0400 |
commit | d2992e51e799099e319aeaaa8648917954f59a3b (patch) | |
tree | 9c9f0ede82d89e06a756f3ad93dac20456e70a39 /arch/arm/mach-at91/generic.h | |
parent | 64568d1dbd673aca3de8d2a17b9db507c5b85df7 (diff) |
ARM: at91: soc: Add init_time callback
Introduce an init_time callback to the at91_init_soc structure to be able to
tweak the init_time machine callback on a per-soc basis, instead of having to
rely on a global one.
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/setup.c
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r-- | arch/arm/mach-at91/generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index 31cba6d9aa61..fb99dabab8f7 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h | |||
@@ -44,6 +44,7 @@ extern void __init at91_sysirq_mask_rtt(u32 rtt_base); | |||
44 | extern void __init at91_register_devices(void); | 44 | extern void __init at91_register_devices(void); |
45 | 45 | ||
46 | /* Timer */ | 46 | /* Timer */ |
47 | extern void __init at91_init_time(void); | ||
47 | extern void at91rm9200_ioremap_st(u32 addr); | 48 | extern void at91rm9200_ioremap_st(u32 addr); |
48 | extern void at91rm9200_timer_init(void); | 49 | extern void at91rm9200_timer_init(void); |
49 | extern void at91sam926x_ioremap_pit(u32 addr); | 50 | extern void at91sam926x_ioremap_pit(u32 addr); |