diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-28 03:21:04 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:32:02 +0100 |
commit | 44a8e3772f53a5337e74700fc166a3d4c3ef59a2 (patch) | |
tree | 29aac6b254eb0e1eead7baabc75bc43b4cdc8195 /drivers | |
parent | bcma: add module.h to the modular portions of this driver (diff) | |
download | linux-44a8e3772f53a5337e74700fc166a3d4c3ef59a2.tar.xz linux-44a8e3772f53a5337e74700fc166a3d4c3ef59a2.zip |
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')
-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 189a97b51be9..893f6e0c759f 100644 --- a/drivers/bcma/core.c +++ b/drivers/bcma/core.c @@ -6,6 +6,7 @@ */ #include "bcma_private.h" +#include <linux/export.h> #include <linux/bcma/bcma.h> bool bcma_core_is_enabled(struct bcma_device *core) diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcommon.c index 47cce9d69630..e9f1b3fd252c 100644 --- a/drivers/bcma/driver_chipcommon.c +++ b/drivers/bcma/driver_chipcommon.c @@ -9,6 +9,7 @@ */ #include "bcma_private.h" +#include <linux/export.h> #include <linux/bcma/bcma.h> 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 2968d809d49f..800163c8c2e7 100644 --- a/drivers/bcma/driver_chipcommon_pmu.c +++ b/drivers/bcma/driver_chipcommon_pmu.c @@ -9,6 +9,7 @@ */ #include "bcma_private.h" +#include <linux/export.h> #include <linux/bcma/bcma.h> 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 81f3d0a4b856..4fde6254f04e 100644 --- a/drivers/bcma/driver_pci.c +++ b/drivers/bcma/driver_pci.c @@ -9,6 +9,7 @@ */ #include "bcma_private.h" +#include <linux/export.h> #include <linux/bcma/bcma.h> /************************************************** |