aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/spi.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 14:14:55 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:43 -0400
commit5262c12d16334a37354c93d606bdb96499f7e5fc (patch)
tree52ed4e1cf9344aea699e76459ce62db77da1e54f /drivers/net/wireless/wl12xx/spi.h
parent56343a3cfdea4d341c7c13d26013024037eae602 (diff)
wl12xx: allocate buffer the spi busy word from struct wl12xx
Needed for DMA transfers. 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/spi.h')
-rw-r--r--drivers/net/wireless/wl12xx/spi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/spi.h b/drivers/net/wireless/wl12xx/spi.h
index 7edb218ee76..1a19557b0b4 100644
--- a/drivers/net/wireless/wl12xx/spi.h
+++ b/drivers/net/wireless/wl12xx/spi.h
@@ -65,9 +65,8 @@
#define WSPI_INIT_CMD_LEN 8
-#define TNETWIF_READ_OFFSET_BYTES 8
#define HW_ACCESS_WSPI_FIXED_BUSY_LEN \
- ((TNETWIF_READ_OFFSET_BYTES - 4) / sizeof(u32))
+ ((WL12XX_BUSY_WORD_LEN - 4) / sizeof(u32))
#define HW_ACCESS_WSPI_INIT_CMD_MASK 0