浏览代码

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>
Paul Gortmaker 14 年之前
父节点
当前提交
44a8e3772f
共有 4 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      drivers/bcma/core.c
  2. 1 0
      drivers/bcma/driver_chipcommon.c
  3. 1 0
      drivers/bcma/driver_chipcommon_pmu.c
  4. 1 0
      drivers/bcma/driver_pci.c

+ 1 - 0
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)

+ 1 - 0
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,

+ 1 - 0
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)

+ 1 - 0
drivers/bcma/driver_pci.c

@@ -9,6 +9,7 @@
  */
 
 #include "bcma_private.h"
+#include <linux/export.h>
 #include <linux/bcma/bcma.h>
 
 /**************************************************