Skip to content

Commit

Permalink
ARM: OMAP2+: Fix warning for omap_init_time_of()
Browse files Browse the repository at this point in the history
[ Upstream commit a3efe3f ]

Fix warning: no previous prototype for 'omap_init_time_of'.

Fixes: e69b4e1 ("ARM: OMAP2+: Add omap_init_time_of()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
tmlind authored and gregkh committed Apr 21, 2021
1 parent 069013b commit 4ff3e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/board-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4ff3e40

Please sign in to comment.