Skip to content

Commit 44a8e37

Browse files
author
Paul Gortmaker
committed
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>
1 parent 200351c commit 44a8e37

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/bcma/core.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#include "bcma_private.h"
9+
#include <linux/export.h>
910
#include <linux/bcma/bcma.h>
1011

1112
bool bcma_core_is_enabled(struct bcma_device *core)

‎drivers/bcma/driver_chipcommon.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010

1111
#include "bcma_private.h"
12+
#include <linux/export.h>
1213
#include <linux/bcma/bcma.h>
1314

1415
static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset,

‎drivers/bcma/driver_chipcommon_pmu.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010

1111
#include "bcma_private.h"
12+
#include <linux/export.h>
1213
#include <linux/bcma/bcma.h>
1314

1415
static u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset)

‎drivers/bcma/driver_pci.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010

1111
#include "bcma_private.h"
12+
#include <linux/export.h>
1213
#include <linux/bcma/bcma.h>
1314

1415
/**************************************************

0 commit comments

Comments
 (0)