diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-09 23:41:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-09 23:41:40 -0800 |
commit | 4f14b92f454150293d79031d210cc678329f3e02 (patch) | |
tree | 5af1391b0e4c9b32ad1d4f9e93282b05a0c10346 /drivers/net | |
parent | aa738adf89deede805d821feddd5b07999904ffd (diff) | |
download | linux-4f14b92f454150293d79031d210cc678329f3e02.tar.bz2 |
via-velocity: section fix
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/via-velocity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index 8c9fb824cbd4..cc0addb5640c 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c @@ -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}, { } }; |