]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
bcma: fix implicit use of export.h contents
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 01:21:04 +0000 (21:21 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 04:26:37 +0000 (00:26 -0400)
Fix in advance, or we will get 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>
drivers/bcma/core.c
drivers/bcma/driver_chipcommon.c
drivers/bcma/driver_pci.c

index 4a04a49cc06d8dd375efbe1d36d211e9fff3fae7..0b8969eab6dff697dd2fc3b8da3b96a03178b283 100644 (file)
@@ -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)
index 851e05bc948afea6740d5b590e26c1320654c6a8..291cce469a9a8ec8d116bb9a82d967784543cac8 100644 (file)
@@ -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,
index 25f3ddf33823122433edfb6c1464598cc832acc5..e0d79d074480ffd3f6f22eff3ec44e78366b51f0 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include "bcma_private.h"
+#include <linux/export.h>
 #include <linux/bcma/bcma.h>
 
 /**************************************************