staging: wilc1000: linux_wlan_get_firmware: change argument p_nic with dev
authorGlen Lee <glen.lee@atmel.com>
Thu, 29 Oct 2015 03:18:49 +0000 (12:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit65c8adcfd8740976eb471272741278989e4441fd
treec7b109a2dc13c11f431cefe86d7e20668c4be001
parentae6f772ddf715599d5d23d498f368e389735aac5
staging: wilc1000: linux_wlan_get_firmware: change argument p_nic with dev

This patch changes argument perInterface_wlan_t *p_nic with struct net_device
*dev and use netdev private data nic and it's member wilc instead of
g_linux_wlan.

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