1
0
Fork 0

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>
hifive-unleashed-5.1
Daniel Axtens 2016-05-18 11:16:51 +10:00 committed by Michael Ellerman
parent 42f5b4cacd
commit 665e87ffe1
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <linux/topology.h>
#include <linux/profile.h>
#include <asm/ptrace.h>
#include <linux/atomic.h>

View File

@ -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,