summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wfi_netdevice.h
diff options
context:
space:
mode:
authorGlen Lee2015-09-24 11:15:05 +0200
committerGreg Kroah-Hartman2015-09-29 02:39:59 +0200
commitb002e20d53c80b4071b267e1be776bfccf9676de (patch)
tree530c12f3e66a2ed0f66a36551cedc5eb68a936ad /drivers/staging/wilc1000/wilc_wfi_netdevice.h
parentstaging: wilc1000: remove mutex txq_cs and it's related codes (diff)
downloadkernel-qcow2-linux-b002e20d53c80b4071b267e1be776bfccf9676de.tar.gz
kernel-qcow2-linux-b002e20d53c80b4071b267e1be776bfccf9676de.tar.xz
kernel-qcow2-linux-b002e20d53c80b4071b267e1be776bfccf9676de.zip
staging: wilc1000: remove function pointer os_wait
This patch removes function pointer os_wait which is pointer of linux_wlan_lock_timeout and just call the real name function directly. Remove also static from linux_wlan_lock_timeout declaration. As os_wait is deleted, structure wilc_wlan_os_func_t is useless. Delete wilc_wlan_os_func_t, os_func and it's related codes. 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_wfi_netdevice.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index e8443064c068..af49c912558e 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -220,5 +220,6 @@ void frmw_to_linux(u8 *buff, u32 size, u32 pkt_offset);
void linux_wlan_mac_indicate(int flag);
void linux_wlan_rx_complete(void);
void linux_wlan_dbg(u8 *buff);
+int linux_wlan_lock_timeout(void *vp, u32 timeout);
#endif