bnx2x section fix
Subsystems (2)
PATCH 3/7 bnx2x section fix
From: Andrew Morton <[email protected]>
gcc-3.4.4 on powerpc:
drivers/net/bnx2x.c:73: error: version causes a section type conflict
Cc Jeff Garzik <[email protected]>
Cc Sam Ravnborg <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/net/bnx2x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/bnx2x.c renamed from drivers/net/bnx2x.c~bnx2x-section-fix +2 -2
@@ -70,7 +70,7 @@/* Time in jiffies before concluding the transmitter is hung. */ #define TX_TIMEOUT (5*HZ) -static const char version[]__devinitdata = +static char version[]__devinitdata ="Broadcom NetXtreme II 577xx 10Gigabit Ethernet Driver " DRV_MODULE_NAME " " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n" ;
@@ -107,7 +107,7 @@ enum bnx2x_board_type { };/* indexed by board_t, above */ -static const struct { +static struct {char *name; } board_info[]__devinitdata = { {"Broadcom NetXtreme II BCM57710 XGb" }
_
From: [email protected]
Date: Fri, 08 Feb 2008 03:11:15 -0800
Quoted 9 lines
From: Andrew Morton <[email protected]>
gcc-3.4.4 on powerpc:
drivers/net/bnx2x.c:73: error: version causes a section type conflictCc Jeff Garzik <[email protected]>Cc Sam Ravnborg <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Applied.