diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-20 12:51:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-22 16:03:22 -0500 |
commit | 0166b4beec575f9740b7a0843675173c2e00cdbc (patch) | |
tree | 3af830a074dcaf30863c80ea4ff5a5986eef45d1 /drivers/net/wireless/ath/ath9k | |
parent | 81b519504f3b2e72c8ff282a03ecc01879f28e31 (diff) |
ath9k_hw: make the initval parameter to ath9k_hw_write_array const
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index a7448d1f5460..0d84c1cd354f 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -203,7 +203,7 @@ void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, | |||
203 | udelay(hw_delay + BASE_ACTIVATE_DELAY); | 203 | udelay(hw_delay + BASE_ACTIVATE_DELAY); |
204 | } | 204 | } |
205 | 205 | ||
206 | void ath9k_hw_write_array(struct ath_hw *ah, struct ar5416IniArray *array, | 206 | void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, |
207 | int column, unsigned int *writecnt) | 207 | int column, unsigned int *writecnt) |
208 | { | 208 | { |
209 | int r; | 209 | int r; |
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 195613ff72ee..13b97e713f9b 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -1013,7 +1013,7 @@ void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna); | |||
1013 | void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, | 1013 | void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, |
1014 | int hw_delay); | 1014 | int hw_delay); |
1015 | bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); | 1015 | bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); |
1016 | void ath9k_hw_write_array(struct ath_hw *ah, struct ar5416IniArray *array, | 1016 | void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, |
1017 | int column, unsigned int *writecnt); | 1017 | int column, unsigned int *writecnt); |
1018 | u32 ath9k_hw_reverse_bits(u32 val, u32 n); | 1018 | u32 ath9k_hw_reverse_bits(u32 val, u32 n); |
1019 | u16 ath9k_hw_computetxtime(struct ath_hw *ah, | 1019 | u16 ath9k_hw_computetxtime(struct ath_hw *ah, |