DORMANTno replies

[patch 21/41] winbond-840 section fix

From: <hidden>
Date: 2006-08-15 06:01:52

From: Andrew Morton <redacted>

With CONFIG_HOTPLUG=n it won't compile:

drivers/net/tulip/winbond-840.c:141: error: version causes a section type conflict

(For some reason it gets the same error if marked __initdata.  Give up.)

Cc: Valerie Henson <redacted>
Cc: Jeff Garzik <redacted>
Signed-off-by: Andrew Morton <redacted>
---

 drivers/net/tulip/winbond-840.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/tulip/winbond-840.c~winbond-840-section-fix drivers/net/tulip/winbond-840.c
--- a/drivers/net/tulip/winbond-840.c~winbond-840-section-fix
+++ a/drivers/net/tulip/winbond-840.c
@@ -138,7 +138,7 @@ static int full_duplex[MAX_UNITS] = {-1,
 #include <asm/irq.h>
 
 /* These identify the driver base version and may not be removed. */
-static char version[] __devinitdata =
+static char version[] =
 KERN_INFO DRV_NAME ".c:v" DRV_VERSION " (2.4 port) " DRV_RELDATE "  Donald Becker <becker@scyld.com>\n"
 KERN_INFO "  http://www.scyld.com/network/drivers.html\n";
 
_
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help