summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wfi_netdevice.h
diff options
context:
space:
mode:
authorArnd Bergmann2015-11-16 15:04:59 +0100
committerGreg Kroah-Hartman2015-12-18 23:19:20 +0100
commit4bd7baf04de9ce5f8117da30d5ee2368f3c41b3e (patch)
tree3190efa4ee16cfe1f424b1a74393b35e4360f9ba /drivers/staging/wilc1000/wilc_wfi_netdevice.h
parentstaging/wilc1000: remove linux_wlan_{device_power,device_detection} (diff)
downloadkernel-qcow2-linux-4bd7baf04de9ce5f8117da30d5ee2368f3c41b3e.tar.gz
kernel-qcow2-linux-4bd7baf04de9ce5f8117da30d5ee2368f3c41b3e.tar.xz
kernel-qcow2-linux-4bd7baf04de9ce5f8117da30d5ee2368f3c41b3e.zip
staging/wilc1000: move wilc_wlan_inp_t into struct wilc
wilc_wlan_inp_t is an unnecessary indirection and requires linux_wlan.c to have knowledge of the specific sdio and spi front-ends. This removes the structure and places io_type directly inside the struct wilc. Signed-off-by: Arnd Bergmann <arnd@arndb.de> 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 3358fe3bcd0a..0c608d73a22e 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -156,6 +156,7 @@ struct wilc_vif {
};
struct wilc {
+ int io_type;
int mac_status;
bool initialized;
#if (!defined WILC_SDIO) || (defined WILC_SDIO_IRQ_GPIO)