wl1251: make wl1251_set_partition bus agnostic
The same partition setting code can be used for both SPI and SDIO modes, if we remove the spi-specific commands and use the more generic buffer write routines. Do that and move it to io.c since it deals with register/memory address offsets. Signed-off-by:Bob Copeland <me@bobcopeland.com> Signed-off-by:
Kalle Valo <kalle.valo@nokia.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- drivers/net/wireless/wl12xx/wl1251_io.c 95 additions, 0 deletionsdrivers/net/wireless/wl12xx/wl1251_io.c
- drivers/net/wireless/wl12xx/wl1251_io.h 15 additions, 0 deletionsdrivers/net/wireless/wl12xx/wl1251_io.h
- drivers/net/wireless/wl12xx/wl1251_spi.c 0 additions, 124 deletionsdrivers/net/wireless/wl12xx/wl1251_spi.c
- drivers/net/wireless/wl12xx/wl1251_spi.h 0 additions, 15 deletionsdrivers/net/wireless/wl12xx/wl1251_spi.h
Loading
Please register or sign in to comment