summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-28 18:46:31 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:57 -0400
commitcae39d1386dba405de0fbda32e224a1535d38a07 (patch)
treee7c7e16a6052ba6476e164767e5d07f2acbb809e /arch/mips/pci
parent848484e2c41220f07b432ffea79874a1b02ce6db (diff)
downloadlinux-stable-cae39d1386dba405de0fbda32e224a1535d38a07.tar.gz
linux-stable-cae39d1386dba405de0fbda32e224a1535d38a07.tar.bz2
linux-stable-cae39d1386dba405de0fbda32e224a1535d38a07.zip
mips: add export.h to files using EXPORT_SYMBOL/THIS_MODULE
Or else we get lots of variations on this: arch/mips/pci/pci.c:330: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' scattered throughout the build. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r--arch/mips/pci/pci-ip27.c1
-rw-r--r--arch/mips/pci/pci.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/pci/pci-ip27.c b/arch/mips/pci/pci-ip27.c
index a0e726eb039a..193e9494f98e 100644
--- a/arch/mips/pci/pci-ip27.c
+++ b/arch/mips/pci/pci-ip27.c
@@ -9,6 +9,7 @@
*/
#include <linux/init.h>
#include <linux/kernel.h>
+#include <linux/export.h>
#include <linux/pci.h>
#include <linux/smp.h>
#include <asm/sn/arch.h>
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 33bba7bff258..41af7fa2887b 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -9,6 +9,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
+#include <linux/export.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/pci.h>