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/mmp2-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/mmp2-dt.c')
-rw-r--r-- | arch/arm/mach-mmp/mmp2-dt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c index 8eec881191f4..510c762ddc48 100644 --- a/arch/arm/mach-mmp/mmp2-dt.c +++ b/arch/arm/mach-mmp/mmp2-dt.c @@ -10,21 +10,20 @@ #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 void __init mmp_init_time(void) { #ifdef CONFIG_CACHE_TAUROS2 tauros2_init(0); #endif of_clk_init(NULL); - mmp_dt_init_timer(); + timer_probe(); } static const char *const mmp2_dt_board_compat[] __initconst = { |