ARM: omap2: fix missing tick_broadcast() prototype
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 15:31:04 +0000 (17:31 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 26 May 2023 11:33:05 +0000 (13:33 +0200)
commit861bc1d2886d47bd57a2cbf2cda87fdbe3eb9d08
treef7776709d647bd9bdf5f52366a4db92205181183
parent94c1c0a29bfccf94c70afef5d89734bce778add6
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 <aaro.koskinen@iki.fi>
Link: https://lore.kernel.org/r/20230516153109.514251-9-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-omap2/board-generic.c