diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-02-01 18:25:42 -0500 |
---|---|---|
committer | Jon Hunter <jon-hunter@ti.com> | 2013-04-01 14:49:46 -0400 |
commit | 4615943cf3a531bc76f589c22bd366da092b7c0f (patch) | |
tree | 4d46edf1e840fc16c671e84d0e86921ba005df44 /arch/arm/mach-omap2/timer.c | |
parent | 8f6924dcab3a40c5972f960cd45ffccc4021db0b (diff) |
ARM: OMAP4+: Fix sparse warning in system timers
Commit 6bb27d7 (ARM: delete struct sys_timer) changed the function
created by the macro OMAP_SYS_32K_TIMER_INIT from static void to void.
For OMAP4+ devices this created the following sparse warning ...
arch/arm/mach-omap2/timer.c:585:1: warning: symbol
'omap4_sync32k_timer_init' was not declared. Should it be static?
The function omap4_sync32k_timer_init() is not referenced outside of the
file timer.c and so make this function static.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 5294c0832071..fd05024bbe4b 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -594,8 +594,8 @@ OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL, | |||
594 | #endif | 594 | #endif |
595 | 595 | ||
596 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) | 596 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) |
597 | OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", | 597 | static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", |
598 | 2, "sys_clkin_ck", NULL); | 598 | 2, "sys_clkin_ck", NULL); |
599 | #endif | 599 | #endif |
600 | 600 | ||
601 | #ifdef CONFIG_ARCH_OMAP4 | 601 | #ifdef CONFIG_ARCH_OMAP4 |