staging: wilc1000: add wilc to netdev private data structure
authorGlen Lee <glen.lee@atmel.com>
Tue, 20 Oct 2015 08:13:51 +0000 (17:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:15:40 +0000 (18:15 -0700)
commit38b3001de95ad5a52cf32ebb9c7fe1fd2b16c396
treefa68e642db94946640c3cdd8da099782cb507691
parentc0f52fbac74e4ab17014c1625a651689a96896bb
staging: wilc1000: add wilc to netdev private data structure

This patch add wilc to struct perInterface_wlan_t which is netdev private
data to access wilc via netdev_priv function. Assign wilc to nic->wilc.
The global variable g_linux_wlan will be replaced with netdev private data
member wilc step by step.

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