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_spi.c | |
parent | 64ae414fe2bcdc86a347056e20d377376fa45b4f (diff) | |
download | op-kernel-dev-9c800322a56610bbdd80e6a859c412e65c5fc6eb.zip op-kernel-dev-9c800322a56610bbdd80e6a859c412e65c5fc6eb.tar.gz |
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_spi.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_spi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_spi.c b/drivers/staging/wilc1000/wilc_spi.c index 5a6bbfd..3741836 100644 --- a/drivers/staging/wilc1000/wilc_spi.c +++ b/drivers/staging/wilc1000/wilc_spi.c @@ -11,6 +11,7 @@ #include "wilc_wlan_if.h" #include "wilc_wlan.h" #include "linux_wlan_spi.h" +#include "wilc_wfi_netdevice.h" typedef struct { wilc_debug_func dPrint; @@ -945,7 +946,7 @@ static int wilc_spi_sync(void) return 1; } -static int wilc_spi_init(wilc_wlan_inp_t *inp, wilc_debug_func func) +static int wilc_spi_init(struct wilc *wilc, wilc_debug_func func) { u32 reg; u32 chipid; |