diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-04-26 08:58:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:49 -0400 |
commit | bbb33881ae5bfe4197a005dc03b29b7dcc07fa28 (patch) | |
tree | 25c090fc8d2e6060b9d2efeedfe3bf4cfefdb888 | |
parent | ba5101d098d6a8471d1a3147fb610b2ee3dbb397 (diff) |
ath5k: Storage class should be before const qualifier
commit 8e218fb24faef0bfe95bc91b3c05261e20439527 reverted the previous
patch (commit 925be8a3077351edbf2b59ca689105df214a0792).
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>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/eeprom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c index c0fb3b09ba45..c85429d2de3f 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.c +++ b/drivers/net/wireless/ath/ath5k/eeprom.c | |||
@@ -640,9 +640,9 @@ ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) | |||
640 | static inline void | 640 | static inline void |
641 | ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) | 641 | ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) |
642 | { | 642 | { |
643 | const static u16 intercepts3[] = | 643 | static const u16 intercepts3[] = |
644 | { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 }; | 644 | { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 }; |
645 | const static u16 intercepts3_2[] = | 645 | static const u16 intercepts3_2[] = |
646 | { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 }; | 646 | { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 }; |
647 | const u16 *ip; | 647 | const u16 *ip; |
648 | int i; | 648 | int i; |