提交 2740a329 编写于 作者: R Roland Vossen 提交者: Greg Kroah-Hartman

staging: brcm80211: fix for checkpatch 'avoid externs in c file' warning

Signed-off-by: NRoland Vossen <rvossen@broadcom.com>
Reviewed-by: NArend van Spriel <arend@broadcom.com>
Reviewed-by: NFranky Lin <frankyl@broadcom.com>
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 fee32378
...@@ -103,16 +103,8 @@ static struct brcmf_sdioh_driver drvinfo = { NULL, NULL }; ...@@ -103,16 +103,8 @@ static struct brcmf_sdioh_driver drvinfo = { NULL, NULL };
module_param(sd_msglevel, uint, 0); module_param(sd_msglevel, uint, 0);
extern uint sd_f2_blocksize;
module_param(sd_f2_blocksize, int, 0); module_param(sd_f2_blocksize, int, 0);
/* forward declarations */
int brcmf_sdio_probe(struct device *dev);
EXPORT_SYMBOL(brcmf_sdio_probe);
int brcmf_sdio_remove(struct device *dev);
EXPORT_SYMBOL(brcmf_sdio_remove);
struct brcmf_sdio_card* struct brcmf_sdio_card*
brcmf_sdcard_attach(void *cfghdl, u32 *regsva, uint irq) brcmf_sdcard_attach(void *cfghdl, u32 *regsva, uint irq)
{ {
...@@ -590,6 +582,7 @@ int brcmf_sdio_probe(struct device *dev) ...@@ -590,6 +582,7 @@ int brcmf_sdio_probe(struct device *dev)
return -ENODEV; return -ENODEV;
} }
EXPORT_SYMBOL(brcmf_sdio_probe);
int brcmf_sdio_remove(struct device *dev) int brcmf_sdio_remove(struct device *dev)
{ {
...@@ -619,6 +612,7 @@ int brcmf_sdio_remove(struct device *dev) ...@@ -619,6 +612,7 @@ int brcmf_sdio_remove(struct device *dev)
kfree(sdhc); kfree(sdhc);
return 0; return 0;
} }
EXPORT_SYMBOL(brcmf_sdio_remove);
int brcmf_sdio_register(struct brcmf_sdioh_driver *driver) int brcmf_sdio_register(struct brcmf_sdioh_driver *driver)
{ {
......
...@@ -423,7 +423,7 @@ static int _brcmf_set_mac_address(struct brcmf_info *drvr_priv, int ifidx, u8 *a ...@@ -423,7 +423,7 @@ static int _brcmf_set_mac_address(struct brcmf_info *drvr_priv, int ifidx, u8 *a
} }
#ifdef SOFTAP #ifdef SOFTAP
extern struct net_device *ap_net_dev; static struct net_device *ap_net_dev;
#endif #endif
/* Virtual interfaces only ((ifp && ifp->info && ifp->idx == true) */ /* Virtual interfaces only ((ifp && ifp->info && ifp->idx == true) */
...@@ -469,7 +469,7 @@ static void brcmf_op_if(struct brcmf_if *ifp) ...@@ -469,7 +469,7 @@ static void brcmf_op_if(struct brcmf_if *ifp)
#ifdef SOFTAP #ifdef SOFTAP
/* semaphore that the soft AP CODE /* semaphore that the soft AP CODE
waits on */ waits on */
extern struct semaphore ap_eth_sema; struct semaphore ap_eth_sema;
/* save ptr to wl0.1 netdev for use /* save ptr to wl0.1 netdev for use
in wl_iw.c */ in wl_iw.c */
......
...@@ -341,6 +341,7 @@ extern int brcmf_sdioh_abort(struct sdioh_info *si, uint fnc); ...@@ -341,6 +341,7 @@ extern int brcmf_sdioh_abort(struct sdioh_info *si, uint fnc);
extern void brcmf_sdio_wdtmr_enable(bool enable); extern void brcmf_sdio_wdtmr_enable(bool enable);
extern uint sd_msglevel; /* Debug message level */ extern uint sd_msglevel; /* Debug message level */
extern uint sd_f2_blocksize;
extern struct brcmf_sdmmc_instance *gInstance; extern struct brcmf_sdmmc_instance *gInstance;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册