aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/power.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-05-18 11:16:51 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-16 22:40:19 +1000
commit665e87ffe1c400c525c3a4cd6fcb5db75972fadd (patch)
treec95e6b8943a647dc811fbe059924b6d3dc5e7b73 /arch/powerpc/platforms/pseries/power.c
parentpowerpc: Introduce asm-prototypes.h (diff)
downloadlinux-dev-665e87ffe1c400c525c3a4cd6fcb5db75972fadd.tar.xz
linux-dev-665e87ffe1c400c525c3a4cd6fcb5db75972fadd.zip
powerpc/sparse: Include headers containing prototypes
Sometimes headers that provide prototypes for functions are accidentally omitted from the files that define the functions. Fix a couple of times that occurs. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/pseries/power.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/power.c b/arch/powerpc/platforms/pseries/power.c
index c26eadde434c..a4a0b57d1d81 100644
--- a/arch/powerpc/platforms/pseries/power.c
+++ b/arch/powerpc/platforms/pseries/power.c
@@ -27,6 +27,8 @@
#include <linux/init.h>
#include <asm/machdep.h>
+#include "pseries.h"
+
unsigned long rtas_poweron_auto; /* default and normal state is 0 */
static ssize_t auto_poweron_show(struct kobject *kobj,