summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/common.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-11-28 18:53:20 +0100
committerOlof Johansson <olof@lixom.net>2018-11-30 15:40:16 -0800
commitf36797ee43802b367e59f0f9a9805304a4ff0c98 (patch)
treef64265056b3cb1fc10382a991687efd6f5e07e4c /arch/arm/mach-mmp/common.h
parente78ebdcb6ea83a891e6940381190040ae299e82d (diff)
downloadlinux-f36797ee43802b367e59f0f9a9805304a4ff0c98.tar.gz
linux-f36797ee43802b367e59f0f9a9805304a4ff0c98.tar.bz2
linux-f36797ee43802b367e59f0f9a9805304a4ff0c98.zip
ARM: mmp/mmp2: dt: enable the clock
The device-tree booted MMP2 needs to enable the timer clock, otherwise it would stop ticking when the boot finishes. It can also use the clock rate from the clk, the non-DT boards need to keep using the hardcoded rates. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-mmp/common.h')
-rw-r--r--arch/arm/mach-mmp/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/common.h b/arch/arm/mach-mmp/common.h
index 7e284d9c429f..5ac2851ef5d3 100644
--- a/arch/arm/mach-mmp/common.h
+++ b/arch/arm/mach-mmp/common.h
@@ -2,7 +2,7 @@
#include <linux/reboot.h>
#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
-extern void timer_init(int irq);
+extern void timer_init(int irq, unsigned long rate);
extern void __init mmp_map_io(void);
extern void mmp_restart(enum reboot_mode, const char *);