diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-29 00:46:31 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:30:57 +0100 |
commit | cae39d1386dba405de0fbda32e224a1535d38a07 (patch) | |
tree | e7c7e16a6052ba6476e164767e5d07f2acbb809e /arch/mips/cavium-octeon | |
parent | mips: remove needless include of module.h from core kernel files. (diff) | |
download | linux-cae39d1386dba405de0fbda32e224a1535d38a07.tar.xz linux-cae39d1386dba405de0fbda32e224a1535d38a07.zip |
mips: add export.h to files using EXPORT_SYMBOL/THIS_MODULE
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>
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r-- | arch/mips/cavium-octeon/csrc-octeon.c | 1 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/dma-octeon.c | 1 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/flash_setup.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/csrc-octeon.c b/arch/mips/cavium-octeon/csrc-octeon.c index 29d56afbb02d..ce6483a9302a 100644 --- a/arch/mips/cavium-octeon/csrc-octeon.c +++ b/arch/mips/cavium-octeon/csrc-octeon.c @@ -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> diff --git a/arch/mips/cavium-octeon/dma-octeon.c b/arch/mips/cavium-octeon/dma-octeon.c index 1abb66caaa1d..ea4febaa4bb1 100644 --- a/arch/mips/cavium-octeon/dma-octeon.c +++ b/arch/mips/cavium-octeon/dma-octeon.c @@ -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> diff --git a/arch/mips/cavium-octeon/flash_setup.c b/arch/mips/cavium-octeon/flash_setup.c index 0ee02f5e51cc..975c20327bb1 100644 --- a/arch/mips/cavium-octeon/flash_setup.c +++ b/arch/mips/cavium-octeon/flash_setup.c @@ -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> |