summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-09-02 18:05:04 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-09-03 10:55:45 +0200
commitd2992e51e799099e319aeaaa8648917954f59a3b (patch)
tree9c9f0ede82d89e06a756f3ad93dac20456e70a39 /arch/arm/mach-at91/setup.c
parentARM: at91: PIT: (Almost) remove the global variables (diff)
downloadlinux-d2992e51e799099e319aeaaa8648917954f59a3b.tar.xz
linux-d2992e51e799099e319aeaaa8648917954f59a3b.zip
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/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index d2cade21ebd7..51c22a2fcea4 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -416,3 +416,8 @@ void __init at91_register_devices(void)
{
at91_boot_soc.register_devices();
}
+
+void __init at91_init_time(void)
+{
+ at91_boot_soc.init_time();
+}