]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: fix implicit export.h usage by txx9 platform
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 29 Jul 2011 00:19:43 +0000 (20:19 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:30 +0000 (04:05 -0400)
To fix this:

arch/mips/txx9/rbtx4939/setup.c:248: error: 'THIS_MODULE' undeclared here (not in a function)
arch/mips/txx9/generic/spi_eeprom.c:82: error: 'THIS_MODULE' undeclared here (not in a function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/txx9/generic/spi_eeprom.c
arch/mips/txx9/rbtx4939/setup.c

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>