staging: wilc1000: fix build error on SPI
authorGlen Lee <glen.lee@atmel.com>
Tue, 27 Oct 2015 09:20:14 +0000 (18:20 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 23:05:56 +0000 (08:05 +0900)
commit702c0e50f6b3fc8f3b7718a0fc2b467841671afb
tree7875891d29269cb1a3a0d32bd745320ede750219
parent6f0d15ec953302bfc1a386dbcb5c6218a1457785
staging: wilc1000: fix build error on SPI

wilc_netdev_init function has parameters to pass but no argument is passed
when bus type SPI is selected. Which causes build error.
This patch passes argument &wilc to the function wilc_netdev_init.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Fixes: 12ba5416dc77 ("staging: wilc1000: assign pointer of g_linux_wlan to sdio device data")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c