summaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorJesper Juhl <jesper.juhl@gmail.com>2006-01-10 05:54:01 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 17:01:55 +0100
commit3c6bee1d4037a5c569f30d40bd852a57ba250912 (patch)
treedfa0259ccb4e0c823b81f3e040fb09ab17524bde /drivers/net/r8169.c
parent[PATCH] drivers/net/irda/irport.c: cleanups (diff)
downloadlinux-3c6bee1d4037a5c569f30d40bd852a57ba250912.tar.xz
linux-3c6bee1d4037a5c569f30d40bd852a57ba250912.zip
[PATCH] turn "const static" into "static const"
ICC likes to complain about storage class not being first, GCC doesn't care much (except for cases like "inline static"). have a hard time seeing how it could break anything. Thanks to Gabriel A. Devenyi for pointing out http://linuxicc.sourceforge.net/ which is what made me create this patch. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 14a76f7cf900..2e1bed153c39 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -170,7 +170,7 @@ enum phy_version {
#define _R(NAME,MAC,MASK) \
{ .name = NAME, .mac_version = MAC, .RxConfigMask = MASK }
-const static struct {
+static const struct {
const char *name;
u8 mac_version;
u32 RxConfigMask; /* Clears the bits supported by this chip */