| From 9e48821801050650bf312d786076cf79b4d4ddab Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Wed, 24 Mar 2021 12:23:58 +0200 |
| Subject: ARM: OMAP2+: Fix warning for omap_init_time_of() |
| |
| From: Tony Lindgren <tony@atomide.com> |
| |
| [ Upstream commit a3efe3f6d0eb64363f74af4b0e8ba6d19415cef2 ] |
| |
| 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> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| 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 |
| index 7290f033fd2d..1610c567a6a3 100644 |
| --- 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.30.2 |
| |