summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_32.c
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-03-22 21:20:03 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 12:04:46 +1000
commitc89ca593220931c150cffda24b4d4ccf82f13fc8 (patch)
tree46fb8cd7a5812ad99456e0afe930591707724754 /arch/powerpc/kernel/pci_32.c
parentb87a358b4a1421abd544c0b554b1b7159b2b36c0 (diff)
downloadtalos-op-linux-c89ca593220931c150cffda24b4d4ccf82f13fc8.tar.gz
talos-op-linux-c89ca593220931c150cffda24b4d4ccf82f13fc8.zip
powerpc/32: Add a missing include header
The header file <linux/syscalls.h> was missing from the includes. Fix the following warning, treated as error with W=1: arch/powerpc/kernel/pci_32.c:286:6: error: no previous prototype for ‘sys_pciconfig_iobase’ [-Werror=missing-prototypes] Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r--arch/powerpc/kernel/pci_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c
index af36e46c3ed6..d63b488d34d7 100644
--- a/arch/powerpc/kernel/pci_32.c
+++ b/arch/powerpc/kernel/pci_32.c
@@ -11,6 +11,7 @@
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/bootmem.h>
+#include <linux/syscalls.h>
#include <linux/irq.h>
#include <linux/list.h>
#include <linux/of.h>
OpenPOWER on IntegriCloud