diff options
author | Glen Lee <glen.lee@atmel.com> | 2015-11-06 18:40:22 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-15 20:02:47 -0800 |
commit | 9c800322a56610bbdd80e6a859c412e65c5fc6eb (patch) | |
tree | e37cc6ad48e0fc776753e0481ef326d81b9eed33 /drivers/staging/wilc1000/wilc_sdio.c | |
parent | staging: wilc1000: remove os_context (diff) | |
download | linux-dev-9c800322a56610bbdd80e6a859c412e65c5fc6eb.tar.xz linux-dev-9c800322a56610bbdd80e6a859c412e65c5fc6eb.zip |
staging: wilc1000: change parameter type of hif_init
This patch changes parameter type wilc_wlan_inp_t with struct wilc and
modify it's related code. Pass wilc to the functions as well.
wilc will be used in later patch.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_sdio.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_sdio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index a5307a7602c5..8aacf55e5eb8 100644 --- a/drivers/staging/wilc1000/wilc_sdio.c +++ b/drivers/staging/wilc1000/wilc_sdio.c @@ -11,6 +11,7 @@ #include "wilc_wlan_if.h" #include "wilc_wlan.h" #include "linux_wlan_sdio.h" +#include "wilc_wfi_netdevice.h" #define WILC_SDIO_BLOCK_SIZE 512 @@ -550,7 +551,7 @@ static int sdio_sync(void) return 1; } -static int sdio_init(wilc_wlan_inp_t *inp, wilc_debug_func func) +static int sdio_init(struct wilc *wilc, wilc_debug_func func) { sdio_cmd52_t cmd; int loop; |