]> err.no Git - linux-2.6/commitdiff
via-velocity: section fix
authorAndrew Morton <akpm@linux-foundation.org>
Sun, 10 Feb 2008 07:41:40 +0000 (23:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2008 07:41:40 +0000 (23:41 -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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-velocity.c

index 8c9fb824cbd4015afe9685ba9b8bc20a0c4b13e8..cc0addb5640c0854f2ec88f124eee7497dc149d4 100644 (file)
@@ -440,7 +440,7 @@ static void velocity_unregister_notifier(void)
  *     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},
        { }
 };