summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-28 08:54:40 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 22:39:42 +0200
commitbc974f4a230756faf4f69114f271de2e678b363b (patch)
tree44b132a4a5de62ade4d02b42c70faa70bc84254e /drivers/net/wireless/ath/ath.h
parentnl80211: report age of scan results (diff)
downloadlinux-bc974f4a230756faf4f69114f271de2e678b363b.tar.xz
linux-bc974f4a230756faf4f69114f271de2e678b363b.zip
atheros: define a common priv struct
hw code should never use private driver data, but sometimes we need a backpointer so just stuff it on the common ath struct. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r--drivers/net/wireless/ath/ath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index e0341fefc921..b6cd752df839 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -56,6 +56,7 @@ struct ath_bus_ops {
struct ath_common {
void *ah;
+ void *priv;
struct ieee80211_hw *hw;
int debug_mask;