| From foo@baz Sat Jul 28 12:29:48 CEST 2018 |
| From: Mathieu Malaterre <malat@debian.org> |
| Date: Thu, 22 Mar 2018 21:20:03 +0100 |
| Subject: powerpc/32: Add a missing include header |
| |
| From: Mathieu Malaterre <malat@debian.org> |
| |
| [ Upstream commit c89ca593220931c150cffda24b4d4ccf82f13fc8 ] |
| |
| 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> |
| Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/powerpc/kernel/pci_32.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- 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> |