OSDN Git Service

staging: wilc1000: restore wilc_spi_dev variable
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Oct 2015 20:05:34 +0000 (22:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:02:00 +0000 (22:02 -0700)
commit92af89d37c415c61c676bb28ae7facdef1821477
tree50afd40ed367d6b9cb80c98f70689ff3cd1f3e64
parent7e4e87d32804c6a14e41b83c5b3f70ebdc3f0d9e
staging: wilc1000: restore wilc_spi_dev variable

A recent change to wilc1000 accidentally deleted an important
variable, so we now get a build error when the SPI mode is
selected:

ERROR: "wilc_spi_dev" [drivers/staging/wilc1000/wilc1000.ko] undefined!

This partially reverts the broken commit to put the variable back.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 56293ff232b9 ("staging: wilc1000: linux_wlan_spi: include header")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan_spi.c