wl1251: separate bus i/o code into io.c
authorBob Copeland <me@bobcopeland.com>
Fri, 7 Aug 2009 10:32:56 +0000 (13:32 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:36 +0000 (09:13 -0400)
commit0764de64c8628f653c7e8493017d6bd8d43f4e3b
tree31a9f7ed97caf521e37166c79d3a39fbad920941
parentb8010790c480f495520fd458197f86d758f0c83a
wl1251: separate bus i/o code into io.c

In order to eventually support wl1251 spi and sdio interfaces, move
the register and memory transfer functions to a common file.  Also
rename wl1251_spi_mem_{read,write} to indicate its common usage.
We still use spi_read internally until SDIO interface is introduced
so nothing functional should change here.

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>
14 files changed:
drivers/net/wireless/wl12xx/Makefile
drivers/net/wireless/wl12xx/wl1251_acx.c
drivers/net/wireless/wl12xx/wl1251_boot.c
drivers/net/wireless/wl12xx/wl1251_cmd.c
drivers/net/wireless/wl12xx/wl1251_event.c
drivers/net/wireless/wl12xx/wl1251_io.c [new file with mode: 0644]
drivers/net/wireless/wl12xx/wl1251_io.h [new file with mode: 0644]
drivers/net/wireless/wl12xx/wl1251_main.c
drivers/net/wireless/wl12xx/wl1251_ops.c
drivers/net/wireless/wl12xx/wl1251_ps.c
drivers/net/wireless/wl12xx/wl1251_rx.c
drivers/net/wireless/wl12xx/wl1251_spi.c
drivers/net/wireless/wl12xx/wl1251_spi.h
drivers/net/wireless/wl12xx/wl1251_tx.c