linux/arch/sh/include
Geert Uytterhoeven fcd9a89248 sh: cache: Move forward declarations to <asm/cacheflush.h>
arch/sh/kernel/cpu/init.c:99:29: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes]
arch/sh/kernel/cpu/sh4a/setup-sh7723.c:422:6: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes]
arch/sh/kernel/cpu/sh4a/setup-sh7724.c:842:6: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-j2.c:48:13: warning: no previous prototype for 'j2_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh2.c:85:13: warning: no previous prototype for 'sh2_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh2a.c:181:13: warning: no previous prototype for 'sh2a_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh3.c:90:13: warning: no previous prototype for 'sh3_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh4.c:384:13: warning: no previous prototype for 'sh4_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-shx3.c:18:13: warning: no previous prototype for 'shx3_cache_init' [-Wmissing-prototypes]
arch/sh/mm/flush-sh4.c:106:13: warning: no previous prototype for 'sh4__flush_region_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh7705.c:190:13: warning: no previous prototype for 'sh7705_cache_init' [-Wmissing-prototypes]

Fix this by moving all cache-related forward declarations to
<asm/cacheflush.h>, and by including the latter where needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/f47ab87636d16db4c47bebe1bf62650045f61989.1709579038.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2024-05-02 12:01:31 +02:00
..
asm sh: cache: Move forward declarations to <asm/cacheflush.h> 2024-05-02 12:01:31 +02:00
cpu-common/cpu
cpu-sh2/cpu
cpu-sh2a/cpu sh: sh7269: Remove bogus SSU GPIO function definitions 2019-12-31 10:01:38 +01:00
cpu-sh3/cpu
cpu-sh4/cpu sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4 2023-07-05 18:55:25 +02:00
cpu-sh4a/cpu
mach-common/mach sh: Remove stale microdev board 2023-10-25 16:48:06 +02:00
mach-dreamcast/mach sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
mach-ecovec24/mach
mach-kfr2r09/mach
mach-landisk/mach
mach-migor/mach
mach-sdk7786/mach
mach-se/mach sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
mach-sh03/mach
mach-x3proto/mach
uapi/asm sh: remove sh5 support 2020-06-01 14:48:52 -04:00