aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/reset.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-03-07 04:26:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-03-16 18:09:36 -0400
commit2c91108c55477334f6854a587ec6e9111d8f1407 (patch)
treecea98b7ea31c0e37508fec8513b4a299409fa556 /drivers/net/wireless/ath5k/reset.c
parent77dcb6a9526b1e0d159a9300e512c7271bff3163 (diff)
ath5k: constify stuff
Make some structures const to place them in .rodata, since we won't change them. Most important parts of objdump -h: - 0 .text 00011170 + 0 .text 00011140 - 5 .rodata 0000828e + 5 .rodata 0000895e - 13 .data 00000560 + 13 .data 00000110 - 14 .devinit.data 00000260 Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Cc: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/reset.c')
-rw-r--r--drivers/net/wireless/ath5k/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/reset.c b/drivers/net/wireless/ath5k/reset.c
index 1531ccd35066..685dc213edae 100644
--- a/drivers/net/wireless/ath5k/reset.c
+++ b/drivers/net/wireless/ath5k/reset.c
@@ -102,7 +102,7 @@ static inline int ath5k_hw_write_ofdm_timings(struct ath5k_hw *ah,
102 * index into rates for control rates, we can set it up like this because 102 * index into rates for control rates, we can set it up like this because
103 * this is only used for AR5212 and we know it supports G mode 103 * this is only used for AR5212 and we know it supports G mode
104 */ 104 */
105static int control_rates[] = 105static const unsigned int control_rates[] =
106 { 0, 1, 1, 1, 4, 4, 6, 6, 8, 8, 8, 8 }; 106 { 0, 1, 1, 1, 4, 4, 6, 6, 8, 8, 8, 8 };
107 107
108/** 108/**