diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-08-27 11:13:29 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-09-03 11:26:52 +0200 |
commit | 4bcd943ec81052db47465762bef6787b30b81978 (patch) | |
tree | 821b2cd193aef76ac56cde3f5c8c7bc380c4067e /arch/microblaze/kernel/setup.c | |
parent | 144f5c19ff954c4b2917f01b763fa2fa51c433a9 (diff) | |
download | op-kernel-dev-4bcd943ec81052db47465762bef6787b30b81978.zip op-kernel-dev-4bcd943ec81052db47465762bef6787b30b81978.tar.gz |
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 <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/setup.c')
-rw-r--r-- | arch/microblaze/kernel/setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 4259f8b..0775e03 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c @@ -9,6 +9,7 @@ */ #include <linux/init.h> +#include <linux/clocksource.h> #include <linux/string.h> #include <linux/seq_file.h> #include <linux/cpu.h> @@ -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; |