diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-16 15:04:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-18 14:19:20 -0800 |
commit | 491880eb47a693bb194096eec094b2166d2b2354 (patch) | |
tree | 957bb2edaa83bafe2e026cc674de3d3c0cc06467 /drivers/staging/wilc1000/wilc_wlan.c | |
parent | 0e1af73ddeb9747fd1aa8b0c6040b8b3709ae9bb (diff) | |
download | op-kernel-dev-491880eb47a693bb194096eec094b2166d2b2354.zip op-kernel-dev-491880eb47a693bb194096eec094b2166d2b2354.tar.gz |
staging/wilc1000: move extern declarations to headers
'extern' declarations belong into a header file rather than
a .c file, to ensure that the definition matches the declaration.
This moves all declarations into a header file that seems
most appropriate for it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index a797c61..f7359f7 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -1,14 +1,8 @@ #include "wilc_wlan_if.h" +#include "wilc_wlan.h" #include "wilc_wfi_netdevice.h" #include "wilc_wlan_cfg.h" -#ifdef WILC_SDIO -extern struct wilc_hif_func wilc_hif_sdio; -#else -extern struct wilc_hif_func wilc_hif_spi; -#endif -u32 wilc_get_chipid(u8 update); - typedef struct { int quit; wilc_wlan_io_func_t io_func; |