Commit 92af89d3 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

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: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 56293ff2 ("staging: wilc1000: linux_wlan_spi: include header")
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7e4e87d3
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
static u32 SPEED = MIN_SPEED; static u32 SPEED = MIN_SPEED;
struct spi_device *wilc_spi_dev;
void linux_spi_deinit(void *vp); void linux_spi_deinit(void *vp);
static int __init wilc_bus_probe(struct spi_device *spi) static int __init wilc_bus_probe(struct spi_device *spi)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment