summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-20 18:51:55 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-01-22 16:03:22 -0500
commit0166b4beec575f9740b7a0843675173c2e00cdbc (patch)
tree3af830a074dcaf30863c80ea4ff5a5986eef45d1 /drivers/net/wireless/ath/ath9k/hw.c
parent81b519504f3b2e72c8ff282a03ecc01879f28e31 (diff)
downloadtalos-op-linux-0166b4beec575f9740b7a0843675173c2e00cdbc.tar.gz
talos-op-linux-0166b4beec575f9740b7a0843675173c2e00cdbc.zip
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/hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c2
1 files changed, 1 insertions, 1 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,
udelay(hw_delay + BASE_ACTIVATE_DELAY);
}
-void ath9k_hw_write_array(struct ath_hw *ah, struct ar5416IniArray *array,
+void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array,
int column, unsigned int *writecnt)
{
int r;
OpenPOWER on IntegriCloud