diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-27 21:21:04 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:32:02 -0400 |
commit | 44a8e3772f53a5337e74700fc166a3d4c3ef59a2 (patch) | |
tree | 29aac6b254eb0e1eead7baabc75bc43b4cdc8195 /drivers/bcma | |
parent | 200351c77d6aa7fc36d3a49132c68e95ad9654c8 (diff) |
bcma: fix implicit use of export.h contents
Fix in advance, or we will get things like this:
drivers/bcma/core.c:20: warning: data definition has no type or storage class
drivers/bcma/core.c:20: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/bcma/core.c:20: warning: parameter names (without types) in function declaration
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/core.c | 1 | ||||
-rw-r--r-- | drivers/bcma/driver_chipcommon.c | 1 | ||||
-rw-r--r-- | drivers/bcma/driver_chipcommon_pmu.c | 1 | ||||
-rw-r--r-- | drivers/bcma/driver_pci.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bcma/core.c b/drivers/bcma/core.c index 189a97b51be..893f6e0c759 100644 --- a/drivers/bcma/core.c +++ b/drivers/bcma/core.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "bcma_private.h" | 8 | #include "bcma_private.h" |
9 | #include <linux/export.h> | ||
9 | #include <linux/bcma/bcma.h> | 10 | #include <linux/bcma/bcma.h> |
10 | 11 | ||
11 | bool bcma_core_is_enabled(struct bcma_device *core) | 12 | bool bcma_core_is_enabled(struct bcma_device *core) |
diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcommon.c index 47cce9d6963..e9f1b3fd252 100644 --- a/drivers/bcma/driver_chipcommon.c +++ b/drivers/bcma/driver_chipcommon.c | |||
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "bcma_private.h" | 11 | #include "bcma_private.h" |
12 | #include <linux/export.h> | ||
12 | #include <linux/bcma/bcma.h> | 13 | #include <linux/bcma/bcma.h> |
13 | 14 | ||
14 | static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset, | 15 | static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset, |
diff --git a/drivers/bcma/driver_chipcommon_pmu.c b/drivers/bcma/driver_chipcommon_pmu.c index 2968d809d49..800163c8c2e 100644 --- a/drivers/bcma/driver_chipcommon_pmu.c +++ b/drivers/bcma/driver_chipcommon_pmu.c | |||
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "bcma_private.h" | 11 | #include "bcma_private.h" |
12 | #include <linux/export.h> | ||
12 | #include <linux/bcma/bcma.h> | 13 | #include <linux/bcma/bcma.h> |
13 | 14 | ||
14 | static u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) | 15 | static u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) |
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c index 81f3d0a4b85..4fde6254f04 100644 --- a/drivers/bcma/driver_pci.c +++ b/drivers/bcma/driver_pci.c | |||
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "bcma_private.h" | 11 | #include "bcma_private.h" |
12 | #include <linux/export.h> | ||
12 | #include <linux/bcma/bcma.h> | 13 | #include <linux/bcma/bcma.h> |
13 | 14 | ||
14 | /************************************************** | 15 | /************************************************** |