aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/pio.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-09-20 14:13:40 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:52:07 -0400
commit1a09404a2338163f181d170c7abdc2242b6c6f03 (patch)
tree090a31041c1e294a2586f12679a17a5329129272 /drivers/net/wireless/b43/pio.h
parentfb8e4444cc8c7719d9947e21a93e2e84bb1b36eb (diff)
[B43]: Fix sparse warnings.
The remaining warning in phy.c will be fixed later. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/b43/pio.h')
-rw-r--r--drivers/net/wireless/b43/pio.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/pio.h b/drivers/net/wireless/b43/pio.h
index 46d6d2ea9b5f..34a44c1b6314 100644
--- a/drivers/net/wireless/b43/pio.h
+++ b/drivers/net/wireless/b43/pio.h
@@ -39,10 +39,9 @@ struct b43_pio_txpacket {
39 struct sk_buff *skb; 39 struct sk_buff *skb;
40 struct ieee80211_tx_status txstat; 40 struct ieee80211_tx_status txstat;
41 struct list_head list; 41 struct list_head list;
42 u16 index; /* Index in the tx_packets_cache */
42}; 43};
43 44
44#define pio_txpacket_getindex(packet) ((int)((packet) - (packet)->queue->tx_packets_cache))
45
46struct b43_pioqueue { 45struct b43_pioqueue {
47 struct b43_wldev *dev; 46 struct b43_wldev *dev;
48 u16 mmio_base; 47 u16 mmio_base;