staging/wilc1000: pass io_type to wilc_netdev_init
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Nov 2015 14:05:02 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:19:20 +0000 (14:19 -0800)
commit6703992896cc95f0bc7c9ccece1fcb3c7e8a2f87
treecf49229e038c15b2aa0b85522e340c1201f795b2
parentb03314e22571783488828f7f38fa708cbd3a1888
staging/wilc1000: pass io_type to wilc_netdev_init

In order to avoid some of the #ifdefs, this passes the io_type
and device pointer as an argument to wilc_netdev_init.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/linux_wlan_sdio.c
drivers/staging/wilc1000/linux_wlan_spi.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h