diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-28 18:46:31 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:57 -0400 |
commit | cae39d1386dba405de0fbda32e224a1535d38a07 (patch) | |
tree | e7c7e16a6052ba6476e164767e5d07f2acbb809e /arch/mips/cavium-octeon | |
parent | 848484e2c41220f07b432ffea79874a1b02ce6db (diff) |
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 @@ | |||
7 | * Copyright (C) 2009, 2010 Cavium Networks, Inc. | 7 | * Copyright (C) 2009, 2010 Cavium Networks, Inc. |
8 | */ | 8 | */ |
9 | #include <linux/clocksource.h> | 9 | #include <linux/clocksource.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/init.h> | 11 | #include <linux/init.h> |
11 | #include <linux/smp.h> | 12 | #include <linux/smp.h> |
12 | 13 | ||
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 @@ | |||
13 | #include <linux/dma-mapping.h> | 13 | #include <linux/dma-mapping.h> |
14 | #include <linux/scatterlist.h> | 14 | #include <linux/scatterlist.h> |
15 | #include <linux/bootmem.h> | 15 | #include <linux/bootmem.h> |
16 | #include <linux/export.h> | ||
16 | #include <linux/swiotlb.h> | 17 | #include <linux/swiotlb.h> |
17 | #include <linux/types.h> | 18 | #include <linux/types.h> |
18 | #include <linux/init.h> | 19 | #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 @@ | |||
8 | * Copyright (C) 2007, 2008 Cavium Networks | 8 | * Copyright (C) 2007, 2008 Cavium Networks |
9 | */ | 9 | */ |
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/export.h> | ||
11 | #include <linux/mtd/mtd.h> | 12 | #include <linux/mtd/mtd.h> |
12 | #include <linux/mtd/map.h> | 13 | #include <linux/mtd/map.h> |
13 | #include <linux/mtd/partitions.h> | 14 | #include <linux/mtd/partitions.h> |