]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: pass wilc to all function pointers of wilc_hif_func
authorGlen Lee <glen.lee@atmel.com>
Wed, 18 Nov 2015 06:11:26 +0000 (15:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:30:50 +0000 (14:30 -0800)
commitce016e389308b3f3bc730ff7ae0f073ddc83d9e7
tree67718d015dcf8ade7bf850229ee693a6fa3826e7
parent91bf35322987ca6cc3ab5c112c79f716b2c28dd8
staging: wilc1000: pass wilc to all function pointers of wilc_hif_func

This patch adds new function parameter struct wilc to all function pointers
of struct wilc_hif_func, and all functions of wilc_sdio.c and wilc_spi.c
need to be changed as it's function pointer is changed.
Pass wilc in all the functions call as well.

The wilc will be passed to functions in linux_wlan_sdio.c and linux_wlan_spi.c
to replace with global variable wilc_dev in the next patch.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c
drivers/staging/wilc1000/wilc_spi.c
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h