]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/44x: include export.h for EXPORT_SYMBOL
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Jul 2011 06:42:37 +0000 (16:42 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 07:28:56 +0000 (03:28 -0400)
To avoid errors like this:

arch/powerpc/platforms/44x/canyonlands.c:126:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/canyonlands.c:126:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/canyonlands.c:126:1: error: parameter names (without types) in function declaration
arch/powerpc/kvm/44x.c: In function 'kvmppc_44x_init':
arch/powerpc/kvm/44x.c:168:59: error: 'THIS_MODULE' undeclared (first use in this function)

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/include/asm/machdep.h
arch/powerpc/kvm/44x.c
arch/powerpc/mm/dma-noncoherent.c
arch/powerpc/mm/tlb_nohash.c
arch/powerpc/platforms/44x/warp.c
arch/powerpc/sysdev/ppc4xx_msi.c

index 47cacddb14cf26732a4550bbd213333f06df15be..7fa31cec41bcbefe5aa006673cc687355d2dfa89 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/seq_file.h>
 #include <linux/init.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 
 #include <asm/setup.h>
 
index da3a1225c0ac10117918f105799f8d60b20665ce..94fc29c36277ab125dde5438567201fecbc1c959 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/kvm_host.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/export.h>
 
 #include <asm/reg.h>
 #include <asm/cputable.h>
index b42f76c4948dba17b1d84efb32bb3f06790df1e0..329be36c0a8dd25aaa53749ef43c7c0087f14201 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/types.h>
 #include <linux/highmem.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 
 #include <asm/tlbflush.h>
 
index d32ec643c231fa6b038d579b7112e590c03daf92..ab06aea8a163d11c889df794808f91e665cdc4e9 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/spinlock.h>
 #include <linux/memblock.h>
 #include <linux/of_fdt.h>
+#include <linux/export.h>
 
 #include <asm/tlbflush.h>
 #include <asm/tlb.h>
index 8f771395f424e6d345ad8e6d2a36b093aa9ea946..4cfa49901c023f069828c5b8f50a1b5028cf69bf 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/of_gpio.h>
 #include <linux/of_i2c.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 #include <asm/machdep.h>
 #include <asm/prom.h>
index 367af02418514b8cbdfdea8f57286308a035eeca..1c2d7af17bbe2f3501ff95060e119ced1ed565e8 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/msi.h>
 #include <linux/of_platform.h>
 #include <linux/interrupt.h>
+#include <linux/export.h>
 #include <asm/prom.h>
 #include <asm/hw_irq.h>
 #include <asm/ppc-pci.h>