Skip to contentSkip to conversation

starfire secton fix

PATCH Applied [email protected] 2 participants 2 messages Feb 8, 2008 – Feb 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/7 starfire secton fix

From: Andrew Morton <[email protected]>

gcc-3.4.4 on powerpc:

drivers/net/starfire.c:219: error: version causes a section type conflict

Cc Jeff Garzik <[email protected]>
Cc Sam Ravnborg <[email protected]>

---

 drivers/net/starfire.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/starfire.c renamed from drivers/net/starfire.c~starfire-secton-fix +1 -1
diff -puN drivers/net/starfire.c~starfire-secton-fix drivers/net/starfire.c
@@ -216,7 +216,7 @@ do { \
 
 
 /* These identify the driver base version and may not be removed. */
-static const char version[] __devinitdata =
+static char version[] =
 KERN_INFO "starfire.c:v1.03 7/26/2000  Written by Donald Becker <[email protected]>\n"
 KERN_INFO " (unofficial 2.2/2.4 kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n";
 

_