summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wfi_netdevice.h
diff options
context:
space:
mode:
authorGlen Lee2015-10-20 10:13:51 +0200
committerGreg Kroah-Hartman2015-10-25 02:15:40 +0100
commit38b3001de95ad5a52cf32ebb9c7fe1fd2b16c396 (patch)
treefa68e642db94946640c3cdd8da099782cb507691 /drivers/staging/wilc1000/wilc_wfi_netdevice.h
parentstaging: wilc1000: fix the bug on copying bssid (diff)
downloadkernel-qcow2-linux-38b3001de95ad5a52cf32ebb9c7fe1fd2b16c396.tar.gz
kernel-qcow2-linux-38b3001de95ad5a52cf32ebb9c7fe1fd2b16c396.tar.xz
kernel-qcow2-linux-38b3001de95ad5a52cf32ebb9c7fe1fd2b16c396.zip
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>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_netdevice.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index e0c66bcdf88a..40a44f8318eb 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -199,7 +199,7 @@ typedef struct {
struct_frame_reg g_struct_frame_reg[num_reg_frame];
struct net_device *wilc_netdev;
struct net_device_stats netstats;
-
+ struct wilc *wilc;
} perInterface_wlan_t;
struct WILC_WFI_mon_priv {