From 4bcd943ec81052db47465762bef6787b30b81978 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 27 Aug 2013 11:13:29 +0200 Subject: microblaze: timer: Use CLKSRC_OF initialization Simplify timer initialization and prepare the driver for moving to drivers/clocksource folder. Also remove system-timer property from binding because the name is too generic. Signed-off-by: Michal Simek --- arch/microblaze/kernel/setup.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/microblaze/kernel/setup.c') diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 4259f8b0f113..0775e036c526 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c @@ -9,6 +9,7 @@ */ #include +#include #include #include #include @@ -192,6 +193,11 @@ void __init machine_early_init(const char *cmdline, unsigned int ram, per_cpu(CURRENT_SAVE, 0) = (unsigned long)current; } +void __init time_init(void) +{ + clocksource_of_init(); +} + #ifdef CONFIG_DEBUG_FS struct dentry *of_debugfs_root; -- cgit v1.2.1