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>
This commit is contained in:
Luis R. Rodriguez
2009-09-28 02:54:40 -04:00
committed by John W. Linville
parent 7c89606e24
commit bc974f4a23
5 changed files with 31 additions and 24 deletions

View File

@@ -56,6 +56,7 @@ struct ath_bus_ops {
struct ath_common {
void *ah;
void *priv;
struct ieee80211_hw *hw;
int debug_mask;