ath9k: pass regd structure directly to regulatory functions
authorBob Copeland <me@bobcopeland.com>
Tue, 31 Mar 2009 02:30:28 +0000 (22:30 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:37 +0000 (16:54 -0400)
commitc02cf3738c9dbc446c160b9d49a001eb2be316c8
tree0a119c84972ead9f15752da578105391b31d31d5
parentfc2ada30cacc28c96eabc598d3ef294338d8dcf5
ath9k: pass regd structure directly to regulatory functions

All regulatory information is encapsulated by the ath9k_regulatory
struct, so we can now change all the callers to take that directly
instead of struct ath_hw.  This in turn will enable us to move the
regulatory functions to common code also used by ath5k, since both
can use this regulatory struct.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/hw.c
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/regd.c
drivers/net/wireless/ath9k/regd.h