diff options
author | Vineet Gupta <[email protected]> | 2023-08-12 18:23:59 -0700 |
---|---|---|
committer | Vineet Gupta <[email protected]> | 2023-08-13 16:53:02 -0700 |
commit | 4d3696801bad2a037832c15a8d21dfe0c529d9cd (patch) | |
tree | 3944d811d0e280b59a40914d4eb59604f6d393ed /arch/arc/mm/init.c | |
parent | 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (diff) |
ARC: -Wmissing-prototype warning fixes
Anrd reported [1] new compiler warnings due to -Wmissing-protype.
These are for non static functions mostly used in asm code hence not
exported already. Fix this by adding the prototypes.
[1] https://lore.kernel.org/lkml/[email protected]
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'arch/arc/mm/init.c')
-rw-r--r-- | arch/arc/mm/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c index 9f64d729c9f8..6a71b23f1383 100644 --- a/arch/arc/mm/init.c +++ b/arch/arc/mm/init.c @@ -15,6 +15,7 @@ #include <linux/highmem.h> #include <asm/page.h> #include <asm/sections.h> +#include <asm/setup.h> #include <asm/arcregs.h> pgd_t swapper_pg_dir[PTRS_PER_PGD] __aligned(PAGE_SIZE); |