aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-02-09 17:05:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:45:12 -0500
commit925be8a3077351edbf2b59ca689105df214a0792 (patch)
treec15cc5315019ee85e34db52e07d34d63e8eb7b56 /drivers/net/wireless
parent2660b81a378ab227b78c4cc618453fa7e19a7c7b (diff)
ath5k: Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath5k/eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath5k/eeprom.c b/drivers/net/wireless/ath5k/eeprom.c
index 21b9334eeaf2..a54ee7e4967b 100644
--- a/drivers/net/wireless/ath5k/eeprom.c
+++ b/drivers/net/wireless/ath5k/eeprom.c
@@ -517,9 +517,9 @@ ath5k_eeprom_init_modes(struct ath5k_hw *ah)
517static inline void 517static inline void
518ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) 518ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp)
519{ 519{
520 const static u16 intercepts3[] = 520 static const u16 intercepts3[] =
521 { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 }; 521 { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 };
522 const static u16 intercepts3_2[] = 522 static const u16 intercepts3_2[] =
523 { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 }; 523 { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 };
524 const u16 *ip; 524 const u16 *ip;
525 int i; 525 int i;