summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-06-22 21:26:53 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-10 22:12:38 +1000
commitf2c6d0d1092e3da2bd36c768777e883fa3908548 (patch)
tree461bef499e75a1ba69d41e4f4fd65bfe0c4b02e4 /arch/powerpc
parenteab00a208eb63d863b6cc0a03f68b4424ef5add8 (diff)
downloadlinux-f2c6d0d1092e3da2bd36c768777e883fa3908548.tar.bz2
powerpc/32: Include setup.h header file to fix warnings
Make sure to include setup.h to provide the following prototypes: - irqstack_early_init - setup_power_save - initialize_cache_info Fix the following warnings (treated as error in W=1): arch/powerpc/kernel/setup_32.c:198:13: error: no previous prototype for ‘irqstack_early_init’ arch/powerpc/kernel/setup_32.c:238:13: error: no previous prototype for ‘setup_power_save’ arch/powerpc/kernel/setup_32.c:253:13: error: no previous prototype for ‘initialize_cache_info’ Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/setup_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index ba969278bf4d..8c507be12c3c 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -43,6 +43,8 @@
#include <asm/kdump.h>
#include <asm/feature-fixups.h>
+#include "setup.h"
+
#define DBG(fmt...)
extern void bootx_init(unsigned long r4, unsigned long phys);