diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-28 18:46:31 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:57 -0400 |
commit | cae39d1386dba405de0fbda32e224a1535d38a07 (patch) | |
tree | e7c7e16a6052ba6476e164767e5d07f2acbb809e /arch/mips | |
parent | 848484e2c41220f07b432ffea79874a1b02ce6db (diff) | |
download | op-kernel-dev-cae39d1386dba405de0fbda32e224a1535d38a07.zip op-kernel-dev-cae39d1386dba405de0fbda32e224a1535d38a07.tar.gz |
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')
-rw-r--r-- | arch/mips/bcm47xx/gpio.c | 1 | ||||
-rw-r--r-- | arch/mips/bcm47xx/setup.c | 1 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/csrc-octeon.c | 1 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/dma-octeon.c | 1 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/flash_setup.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/mips/pci/pci-ip27.c | 1 | ||||
-rw-r--r-- | arch/mips/pci/pci.c | 1 | ||||
-rw-r--r-- | arch/mips/powertv/pci/fixup-powertv.c | 1 | ||||
-rw-r--r-- | arch/mips/powertv/powertv-usb.c | 1 | ||||
-rw-r--r-- | arch/mips/rb532/gpio.c | 1 | ||||
-rw-r--r-- | arch/mips/rb532/setup.c | 1 | ||||
-rw-r--r-- | arch/mips/txx9/generic/spi_eeprom.c | 1 | ||||
-rw-r--r-- | arch/mips/txx9/rbtx4939/setup.c | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/gpio.c b/arch/mips/bcm47xx/gpio.c index 57b425f..5ebdf62 100644 --- a/arch/mips/bcm47xx/gpio.c +++ b/arch/mips/bcm47xx/gpio.c @@ -6,6 +6,7 @@ * Copyright (C) 2007 Aurelien Jarno <aurelien@aurel32.net> */ +#include <linux/export.h> #include <linux/ssb/ssb.h> #include <linux/ssb/ssb_driver_chipcommon.h> #include <linux/ssb/ssb_driver_extif.h> diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c index 17c3d14..1cfdda0 100644 --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c @@ -26,6 +26,7 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <linux/export.h> #include <linux/types.h> #include <linux/ssb/ssb.h> #include <linux/ssb/ssb_embedded.h> diff --git a/arch/mips/cavium-octeon/csrc-octeon.c b/arch/mips/cavium-octeon/csrc-octeon.c index 29d56af..ce6483a 100644 --- a/arch/mips/cavium-octeon/csrc-octeon.c +++ b/arch/mips/cavium-octeon/csrc-octeon.c @@ -7,6 +7,7 @@ * Copyright (C) 2009, 2010 Cavium Networks, Inc. */ #include <linux/clocksource.h> +#include <linux/export.h> #include <linux/init.h> #include <linux/smp.h> diff --git a/arch/mips/cavium-octeon/dma-octeon.c b/arch/mips/cavium-octeon/dma-octeon.c index 1abb66c..ea4feba 100644 --- a/arch/mips/cavium-octeon/dma-octeon.c +++ b/arch/mips/cavium-octeon/dma-octeon.c @@ -13,6 +13,7 @@ #include <linux/dma-mapping.h> #include <linux/scatterlist.h> #include <linux/bootmem.h> +#include <linux/export.h> #include <linux/swiotlb.h> #include <linux/types.h> #include <linux/init.h> diff --git a/arch/mips/cavium-octeon/flash_setup.c b/arch/mips/cavium-octeon/flash_setup.c index 0ee02f5..975c203 100644 --- a/arch/mips/cavium-octeon/flash_setup.c +++ b/arch/mips/cavium-octeon/flash_setup.c @@ -8,6 +8,7 @@ * Copyright (C) 2007, 2008 Cavium Networks */ #include <linux/kernel.h> +#include <linux/export.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> #include <linux/mtd/partitions.h> diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 5b7a284..c47f96e 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -15,6 +15,7 @@ #include <linux/mm.h> #include <linux/stddef.h> #include <linux/unistd.h> +#include <linux/export.h> #include <linux/ptrace.h> #include <linux/mman.h> #include <linux/personality.h> diff --git a/arch/mips/pci/pci-ip27.c b/arch/mips/pci/pci-ip27.c index a0e726e..193e949 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 33bba7b..41af7fa 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> diff --git a/arch/mips/powertv/pci/fixup-powertv.c b/arch/mips/powertv/pci/fixup-powertv.c index 726bc2e..d7ecbae 100644 --- a/arch/mips/powertv/pci/fixup-powertv.c +++ b/arch/mips/powertv/pci/fixup-powertv.c @@ -1,4 +1,5 @@ #include <linux/init.h> +#include <linux/export.h> #include <linux/pci.h> #include <asm/mach-powertv/interrupts.h> #include "powertv-pci.h" diff --git a/arch/mips/powertv/powertv-usb.c b/arch/mips/powertv/powertv-usb.c index 6ac85cf..b0e2afa 100644 --- a/arch/mips/powertv/powertv-usb.c +++ b/arch/mips/powertv/powertv-usb.c @@ -29,6 +29,7 @@ */ #include <linux/kernel.h> +#include <linux/export.h> #include <linux/ioport.h> #include <linux/platform_device.h> #include <asm/mach-powertv/asic.h> diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c index 6c47dfe..6ec41df 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 50f530f..d0c64e7 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> diff --git a/arch/mips/txx9/generic/spi_eeprom.c b/arch/mips/txx9/generic/spi_eeprom.c index 103abc1..3dbad99 100644 --- a/arch/mips/txx9/generic/spi_eeprom.c +++ b/arch/mips/txx9/generic/spi_eeprom.c @@ -11,6 +11,7 @@ */ #include <linux/init.h> #include <linux/slab.h> +#include <linux/export.h> #include <linux/device.h> #include <linux/spi/spi.h> #include <linux/spi/eeprom.h> diff --git a/arch/mips/txx9/rbtx4939/setup.c b/arch/mips/txx9/rbtx4939/setup.c index 7dc0faf..2ad8973 100644 --- a/arch/mips/txx9/rbtx4939/setup.c +++ b/arch/mips/txx9/rbtx4939/setup.c @@ -13,6 +13,7 @@ #include <linux/kernel.h> #include <linux/types.h> #include <linux/slab.h> +#include <linux/export.h> #include <linux/platform_device.h> #include <linux/leds.h> #include <linux/interrupt.h> |