]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: add export.h to files using EXPORT_SYMBOL/THIS_MODULE
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 22:46:31 +0000 (18:46 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:59 +0000 (13:54 -0400)
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>
14 files changed:
arch/mips/bcm47xx/gpio.c
arch/mips/bcm47xx/setup.c
arch/mips/cavium-octeon/csrc-octeon.c
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/cavium-octeon/flash_setup.c
arch/mips/kernel/process.c
arch/mips/pci/pci-ip27.c
arch/mips/pci/pci.c
arch/mips/powertv/pci/fixup-powertv.c
arch/mips/powertv/powertv-usb.c
arch/mips/rb532/gpio.c
arch/mips/rb532/setup.c
arch/mips/txx9/generic/spi_eeprom.c
arch/mips/txx9/rbtx4939/setup.c

index e4a5ee9c97217381e324774d2c4777f7801d85c5..466aa014b13edba86a3dd5c82788280cbc4fbe1f 100644 (file)
@@ -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>
index cfae81571dedd91d9411d7457fc9322497b93896..0eda3808ee9d444fb667dff87285214154baa1bb 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include <linux/types.h>
+#include <linux/export.h>
 #include <linux/ssb/ssb.h>
 #include <linux/ssb/ssb_embedded.h>
 #include <asm/bootinfo.h>
index 29d56afbb02d889e68b959eafe27626d7cfe9498..ce6483a9302a8989a3f26a0bf52e352d08de8f98 100644 (file)
@@ -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>
 
index 1abb66caaa1d84459e5564fe788b0d39e61f4aeb..ea4febaa4bb1caf50f2ef92cc6c711e94c4285e2 100644 (file)
@@ -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>
index 0ee02f5e51cce7e6bb1bfb10304539059f211169..975c20327bb152e4774f24f05a273bc4bbeb3a28 100644 (file)
@@ -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>
index 5b7a28448faecc2617735e1a4142456585989226..c47f96e453c0fd4c2d3118b194ebed14134e6390 100644 (file)
@@ -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>
index a0e726eb039aeb0cd8c842d72873d4fcfd8ed3a7..193e9494f98e060bfa66e2bcd0105685fd90f4ff 100644 (file)
@@ -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>
index 33bba7bff25840dd8e034083239dc4c49839f1c5..41af7fa2887b7c6266800a1c000bff0d8da06099 100644 (file)
@@ -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>
index 726bc2e824b374ed6766a23e1201af0d89bb8bb9..d7ecbae64a6eff7f9a1ee7c24609e838418c342a 100644 (file)
@@ -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"
index 6ac85cf7aa2069ab640dd172685d8749570db048..b0e2afa89395383cc73cde140fbf52c04432575e 100644 (file)
@@ -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>
index 6c47dfeb7be326bf2dc4c5a7a1cbb1984b87efec..6ec41df3cb99f22e96683c2c3b563af8ee7eee51 100644 (file)
@@ -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>
index 50f530f5b602a1cbeb5808c5428df3c637992dd1..d0c64e71d53269287a2b7f2eac369aac0ec0f04f 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 
 #include <asm/bootinfo.h>
 #include <asm/reboot.h>
index 103abc13d6234764469f33545f6c1710ae74b55e..3dbad99d5611e2428666a4475cd5504f441d0c40 100644 (file)
@@ -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>
index 7dc0fafbec80b896c615ef5bacf3a41c63c26ac3..2ad8973ba13d732d8a5770473de98197cf33fe1f 100644 (file)
@@ -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>