提交 185e922e 编写于 作者: T Tony Lindgren 提交者: Zheng Zengkai

ARM: OMAP2+: Fix warning for omap_init_time_of()

stable inclusion
from stable-5.10.32
commit a13d4a1228abc42f05233f3212fdf139e2d720db
bugzilla: 51796

--------------------------------

[ Upstream commit a3efe3f6 ]

Fix warning: no previous prototype for 'omap_init_time_of'.

Fixes: e69b4e1a ("ARM: OMAP2+: Add omap_init_time_of()")
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 bb92a8a6
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册