diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-16 15:05:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-18 14:19:20 -0800 |
commit | 857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1 (patch) | |
tree | e00c77d8b7b62732d627540cb5afe99fbfa7459c /drivers/staging/wilc1000/linux_wlan_spi.h | |
parent | staging/wilc1000: move wilc_wlan_inp_t into struct wilc (diff) | |
download | linux-dev-857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1.tar.xz linux-dev-857c7b00d2400b2f8a825b4710e9c3d2ebef4aa1.zip |
staging/wilc1000: move init/exit functions to driver files
The driver interfaces are in linux_wlan_sdio.c and linux_wlan_spi.c, so
this is where the init and exit functions should be. Splitting this up
enables further cleanups, including eventually allowing both modules
to be built together.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_wlan_spi.h')
-rw-r--r-- | drivers/staging/wilc1000/linux_wlan_spi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan_spi.h b/drivers/staging/wilc1000/linux_wlan_spi.h index aecb522ff56d..f434f79913ab 100644 --- a/drivers/staging/wilc1000/linux_wlan_spi.h +++ b/drivers/staging/wilc1000/linux_wlan_spi.h @@ -2,12 +2,11 @@ #define LINUX_WLAN_SPI_H #include <linux/spi/spi.h> -extern struct spi_device *wilc_spi_dev; -extern struct spi_driver wilc_bus; int wilc_spi_init(void); int wilc_spi_write(u8 *b, u32 len); int wilc_spi_read(u8 *rb, u32 rlen); int wilc_spi_write_read(u8 *wb, u8 *rb, u32 rlen); int wilc_spi_set_max_speed(void); + #endif |