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>
This commit is contained in:
parent
42f5b4cacd
commit
665e87ffe1
|
@ -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 @@
|
||||||
#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,
|
||||||
|
|
Loading…
Reference in New Issue