* [PATCH] ARM: OMAP2+: Fix warning for omap_init_time_of()
@ 2021-03-24 10:51 Tony Lindgren
0 siblings, 0 replies; only message in thread
From: Tony Lindgren @ 2021-03-24 10:51 UTC (permalink / raw)
To: linux-omap; +Cc: linux-arm-kernel, kernel test robot
Fix warning: no previous prototype for 'omap_init_time_of'.
Fixes: e69b4e1a7577 ("ARM: OMAP2+: Add omap_init_time_of()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/board-generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
--- a/arch/arm/mach-omap2/board-generic.c
+++ b/arch/arm/mach-omap2/board-generic.c
@@ -33,7 +33,7 @@ static void __init __maybe_unused omap_generic_init(void)
}
/* Clocks are needed early, see drivers/clocksource for the rest */
-void __init __maybe_unused omap_init_time_of(void)
+static void __init __maybe_unused omap_init_time_of(void)
{
omap_clk_init();
timer_probe();
--
2.31.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-24 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24 10:51 [PATCH] ARM: OMAP2+: Fix warning for omap_init_time_of() Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox