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>
This commit is contained in:
David-John Willis
2009-11-17 18:50:09 +02:00
committed by John W. Linville
parent 7010193ad8
commit c95cf3d09a
5 changed files with 22 additions and 6 deletions

View File

@@ -269,6 +269,7 @@ struct wl1251 {
void (*set_power)(bool enable);
int irq;
bool use_eeprom;
enum wl1251_state state;
struct mutex mutex;