Skip to content

Commit 861bc1d

Browse files
committed
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: d86ad46 ("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>
1 parent 94c1c0a commit 861bc1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/mach-omap2/board-generic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <linux/of_platform.h>
1414
#include <linux/irqdomain.h>
1515
#include <linux/clocksource.h>
16+
#include <linux/clockchips.h>
1617

1718
#include <asm/setup.h>
1819
#include <asm/mach/arch.h>

0 commit comments

Comments
 (0)