diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-07-11 00:13:51 +0300 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-10-17 17:36:11 +0300 |
commit | 1732050f48a384fbe101b8586ed42caf874816eb (patch) | |
tree | 94031855708c9e9e96bef601273b1ed78d0510e5 /arch/arm/mach-mmp/mmp-dt.c | |
parent | e69fd5090dbd640a12b61feef78eb07a17cec209 (diff) | |
download | linux-1732050f48a384fbe101b8586ed42caf874816eb.tar.xz |
ARM: mmp: DT: convert timer driver to use TIMER_OF_DECLARE
This makes things just a tiny bit simpler.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Diffstat (limited to 'arch/arm/mach-mmp/mmp-dt.c')
-rw-r--r-- | arch/arm/mach-mmp/mmp-dt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach-mmp/mmp-dt.c index 35559792d5cc..91214996acec 100644 --- a/arch/arm/mach-mmp/mmp-dt.c +++ b/arch/arm/mach-mmp/mmp-dt.c @@ -9,14 +9,13 @@ #include <linux/irqchip.h> #include <linux/of_platform.h> #include <linux/clk-provider.h> +#include <linux/clocksource.h> #include <asm/mach/arch.h> #include <asm/mach/time.h> #include <asm/hardware/cache-tauros2.h> #include "common.h" -extern void __init mmp_dt_init_timer(void); - static const char *const pxa168_dt_board_compat[] __initconst = { "mrvl,pxa168-aspenite", NULL, @@ -32,8 +31,8 @@ static void __init mmp_init_time(void) #ifdef CONFIG_CACHE_TAUROS2 tauros2_init(0); #endif - mmp_dt_init_timer(); of_clk_init(NULL); + timer_probe(); } DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)") |