Commit 665e87ff authored by Daniel Axtens's avatar Daniel Axtens Committed by Michael Ellerman

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: default avatarDaniel Axtens <dja@axtens.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 42f5b4ca
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <linux/cpu.h> #include <linux/cpu.h>
#include <linux/notifier.h> #include <linux/notifier.h>
#include <linux/topology.h> #include <linux/topology.h>
#include <linux/profile.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <linux/atomic.h> #include <linux/atomic.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#include <linux/init.h> #include <linux/init.h>
#include <asm/machdep.h> #include <asm/machdep.h>
#include "pseries.h"
unsigned long rtas_poweron_auto; /* default and normal state is 0 */ unsigned long rtas_poweron_auto; /* default and normal state is 0 */
static ssize_t auto_poweron_show(struct kobject *kobj, static ssize_t auto_poweron_show(struct kobject *kobj,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment