diff options
| author | Nathan Chancellor <[email protected]> | 2023-11-30 15:58:16 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 17:21:34 -0800 |
| commit | bba07109f57d1299cd5551eb948ce182d711c221 (patch) | |
| tree | 313682805ddc6fab93762f872988389586520e6f /include/linux/debugobjects.h | |
| parent | 600acbea29533db8906ed172b89eb10cd0d5413a (diff) | |
hexagon: mm: include asm/setup.h for setup_arch_memory()'s prototype
Clang warns:
arch/hexagon/mm/init.c:138:13: warning: no previous prototype for function 'setup_arch_memory' [-Wmissing-prototypes]
138 | void __init setup_arch_memory(void)
| ^
arch/hexagon/mm/init.c:138:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
138 | void __init setup_arch_memory(void)
| ^
| static
The prototype is in asm/setup.h, include it to clear up the warning.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Nathan Chancellor <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Brian Cain <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions