diff options
author | David-John Willis <John.Willis@Distant-earth.com> | 2009-11-17 18:50:09 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:24 -0500 |
commit | c95cf3d09adc9afe7816a13a920b6df36062a3fe (patch) | |
tree | 6f7b922526c4ae4fa1d593d8bcd89738d37a2784 /drivers/net/wireless/wl12xx/wl1251_spi.c | |
parent | 7010193ad8e64dfbc006b167c2ee712d4441292c (diff) | |
download | op-kernel-dev-c95cf3d09adc9afe7816a13a920b6df36062a3fe.zip op-kernel-dev-c95cf3d09adc9afe7816a13a920b6df36062a3fe.tar.gz |
wl1251: add NVS in EEPROM support
wl1251 supports also that NVS is stored in a separate EEPROM, add support
for that.
kvalo: use platform data instead Kconfig and use kernel style
Signed-off-by: David-John Willis <John.Willis@Distant-earth.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_spi.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_spi.c b/drivers/net/wireless/wl12xx/wl1251_spi.c index 2cf8a21..9cc8c32 100644 --- a/drivers/net/wireless/wl12xx/wl1251_spi.c +++ b/drivers/net/wireless/wl12xx/wl1251_spi.c @@ -270,6 +270,8 @@ static int __devinit wl1251_spi_probe(struct spi_device *spi) return -ENODEV; } + wl->use_eeprom = pdata->use_eeprom; + ret = request_irq(wl->irq, wl1251_irq, 0, DRIVER_NAME, wl); if (ret < 0) { wl1251_error("request_irq() failed: %d", ret); |