]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: move all of wilc_wlan_dev_t to struct wilc
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:12 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:20:04 +0000 (13:20 -0800)
commit04a3758ee05da607b40d7c64f318961ef8595f0b
treea60cef18888a0981998d7cfc68195df36d1a0af6
parentf4b5ec6378f753ed887414304a93b806dfb305ce
staging: wilc1000: move all of wilc_wlan_dev_t to struct wilc

linux_wlan.c and wilc_wlan.c was separated into two part at the beginning
to support various platforms. They are in charge of send/receive control and
packet data, so they will be merged into one file wlan.c later.
First of all, wilc_wlan_dev_t which is used as global variable of wilc_wlan.c
will be moved into struct wilc.
This patch moves all members of wilc_wlan_dev_t to struct wilc and use wilc
instead of g_wlan. Finally remove wilc_wlan_dev_t and g_wlan.

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