]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: fix implicit export.h usage cases in cavium platform
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 23:27:05 +0000 (19:27 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:28 +0000 (04:05 -0400)
Fixes the following failures:

arch/mips/cavium-octeon/csrc-octeon.c:138: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/mips/cavium-octeon/dma-octeon.c:218: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/mips/cavium-octeon/flash_setup.c:62: error: 'THIS_MODULE' undeclared (first use in this function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/cavium-octeon/csrc-octeon.c
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/cavium-octeon/flash_setup.c

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>