projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2660b81
)
ath5k: Storage class should be before const qualifier
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 9 Feb 2009 22:05:40 +0000
(23:05 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:12 +0000
(13:45 -0500)
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>
drivers/net/wireless/ath5k/eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath5k/eeprom.c
b/drivers/net/wireless/ath5k/eeprom.c
index 21b9334eeaf2ed5f09262a7c486c32768aaaa5f0..a54ee7e4967b7b042575049f8058afb3309a919f 100644
(file)
--- 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)
static inline void
ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp)
{
-
const static
u16 intercepts3[] =
+
static const
u16 intercepts3[] =
{ 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 };
-
const static
u16 intercepts3_2[] =
+
static const
u16 intercepts3_2[] =
{ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 };
const u16 *ip;
int i;