diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-29 00:46:31 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:30:57 +0100 |
commit | cae39d1386dba405de0fbda32e224a1535d38a07 (patch) | |
tree | e7c7e16a6052ba6476e164767e5d07f2acbb809e /arch/mips/rb532 | |
parent | mips: remove needless include of module.h from core kernel files. (diff) | |
download | linux-cae39d1386dba405de0fbda32e224a1535d38a07.tar.xz linux-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/rb532')
-rw-r--r-- | arch/mips/rb532/gpio.c | 1 | ||||
-rw-r--r-- | arch/mips/rb532/setup.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c index 6c47dfeb7be3..6ec41df3cb99 100644 --- a/arch/mips/rb532/gpio.c +++ b/arch/mips/rb532/gpio.c @@ -29,6 +29,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/types.h> +#include <linux/export.h> #include <linux/spinlock.h> #include <linux/platform_device.h> #include <linux/gpio.h> diff --git a/arch/mips/rb532/setup.c b/arch/mips/rb532/setup.c index 50f530f5b602..d0c64e71d532 100644 --- a/arch/mips/rb532/setup.c +++ b/arch/mips/rb532/setup.c @@ -3,6 +3,7 @@ */ #include <linux/init.h> +#include <linux/export.h> #include <asm/bootinfo.h> #include <asm/reboot.h> |