All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 5/7] via-velocity section fix
@ 2008-02-08 11:11 akpm
  2008-02-10  7:41 ` 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/via-velocity.c:443: error: chip_info_table causes a section type conflict

on this one I had to remove the __devinitdata too.  Don't know why.

Cc: Jeff Garzik <jeff@garzik.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/via-velocity.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/via-velocity.c~via-velocity-section-fix drivers/net/via-velocity.c
--- a/drivers/net/via-velocity.c~via-velocity-section-fix
+++ a/drivers/net/via-velocity.c
@@ -440,7 +440,7 @@ static void velocity_unregister_notifier
  *	Internal board variants. At the moment we have only one
  */
 
-static const struct velocity_info_tbl chip_info_table[] __devinitdata = {
+static struct velocity_info_tbl chip_info_table[] = {
 	{CHIP_TYPE_VT6110, "VIA Networking Velocity Family Gigabit Ethernet Adapter", 1, 0x00FFFFFFUL},
 	{ }
 };
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 5/7] via-velocity section fix
  2008-02-08 11:11 [patch 5/7] via-velocity section fix akpm
@ 2008-02-10  7:41 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-02-10  7:41 UTC (permalink / raw)
  To: akpm; +Cc: jeff, netdev, sam

From: akpm@linux-foundation.org
Date: Fri, 08 Feb 2008 03:11:16 -0800

> From: Andrew Morton <akpm@linux-foundation.org>
> 
> gcc-3.4.4 on powerpc:
> 
> drivers/net/via-velocity.c:443: error: chip_info_table causes a section type conflict
> 
> on this one I had to remove the __devinitdata too.  Don't know why.
> 
> 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:41 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 5/7] via-velocity section fix akpm
2008-02-10  7:41 ` 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.