]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: fix implicit usage of export.h on rb532 platform
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 29 Jul 2011 00:14:42 +0000 (20:14 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:30 +0000 (04:05 -0400)
It needs export.h to avoid this:

arch/mips/rb532/gpio.c:163: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/mips/rb532/setup.c:16: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/rb532/gpio.c
arch/mips/rb532/setup.c

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>