Skip to content

Commit a3efe3f

Browse files
committed
ARM: OMAP2+: Fix warning for omap_init_time_of()
Fix warning: no previous prototype for 'omap_init_time_of'. Fixes: e69b4e1 ("ARM: OMAP2+: Add omap_init_time_of()") Reported-by: kernel test robot <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent b3d09a0 commit a3efe3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-omap2/board-generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static void __init __maybe_unused omap_generic_init(void)
3333
}
3434

3535
/* Clocks are needed early, see drivers/clocksource for the rest */
36-
void __init __maybe_unused omap_init_time_of(void)
36+
static void __init __maybe_unused omap_init_time_of(void)
3737
{
3838
omap_clk_init();
3939
timer_probe();

0 commit comments

Comments
 (0)