diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-15 02:00:10 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 17:44:28 -0400 |
commit | 3418e469ebaebec16f7df83074087eb901fb76b9 (patch) | |
tree | afeabd4c0dec7a9e6433711739d8639736adb55b /drivers/net/sundance.c | |
parent | 90d5aed2d9c7d2f3915b75342988114fd7b6c13d (diff) |
[PATCH] sundance section fix
drivers/net/sundance.c:110: error: version causes a section type conflict
I don't understand this error. It's referred to from both __init and
__devinit code. With CONFIG_HOTPLUG=n, version[] is placed in .init.data and
is referred to from .init.text.
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sundance.c')
-rw-r--r-- | drivers/net/sundance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c index ac17377b3e9f..698568e751da 100644 --- a/drivers/net/sundance.c +++ b/drivers/net/sundance.c | |||
@@ -107,7 +107,7 @@ static char *media[MAX_UNITS]; | |||
107 | #endif | 107 | #endif |
108 | 108 | ||
109 | /* These identify the driver base version and may not be removed. */ | 109 | /* These identify the driver base version and may not be removed. */ |
110 | static char version[] __devinitdata = | 110 | static char version[] = |
111 | KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n" | 111 | KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n" |
112 | KERN_INFO " http://www.scyld.com/network/sundance.html\n"; | 112 | KERN_INFO " http://www.scyld.com/network/sundance.html\n"; |
113 | 113 | ||