* [patch 4/7] bnx2.c section fix
@ 2008-02-08 11:11 akpm
2008-02-10 7:17 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-02-08 11:11 UTC (permalink / raw)
To: davem; +Cc: jeff, netdev, akpm, sam
From: Andrew Morton <akpm@linux-foundation.org>
gcc-3.4.4 on powerpc:
drivers/net/bnx2.c:67: error: version causes a section type conflict
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/net/bnx2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/net/bnx2.c~bnx2c-section-fix drivers/net/bnx2.c
--- a/drivers/net/bnx2.c~bnx2c-section-fix
+++ a/drivers/net/bnx2.c
@@ -64,7 +64,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 Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>");
@@ -90,7 +90,7 @@ typedef enum {
} board_t;
/* indexed by board_t, above */
-static const struct {
+static struct {
char *name;
} board_info[] __devinitdata = {
{ "Broadcom NetXtreme II BCM5706 1000Base-T" },
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 4/7] bnx2.c section fix
2008-02-08 11:11 [patch 4/7] bnx2.c section fix akpm
@ 2008-02-10 7:17 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-02-10 7:17 UTC (permalink / raw)
To: akpm; +Cc: jeff, netdev, sam
From: akpm@linux-foundation.org
Date: Fri, 08 Feb 2008 03:11:15 -0800
> From: Andrew Morton <akpm@linux-foundation.org>
>
> gcc-3.4.4 on powerpc:
>
> drivers/net/bnx2.c:67: error: version causes a section type conflict
>
> Cc: Jeff Garzik <jeff@garzik.org>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-10 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-08 11:11 [patch 4/7] bnx2.c section fix akpm
2008-02-10 7:17 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.