From: Arnd Bergmann Date: Tue, 16 May 2023 15:31:04 +0000 (+0200) Subject: ARM: omap2: fix missing tick_broadcast() prototype X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=861bc1d2886d47bd57a2cbf2cda87fdbe3eb9d08;p=linux.git ARM: omap2: fix missing tick_broadcast() prototype omap2 contains a hack to define tick_broadcast() on non-SMP configurations in place of the normal SMP definition. This one causes a warning because of a missing prototype: arch/arm/mach-omap2/board-generic.c:44:6: error: no previous prototype for 'tick_broadcast' Make sure to always include the header with the declaration. Fixes: d86ad463d670 ("ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs") Acked-by: Aaro Koskinen Link: https://lore.kernel.org/r/20230516153109.514251-9-arnd@kernel.org Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 1610c567a6a3a..10d2f078e4a8e 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include