projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa738ad
)
via-velocity: section fix
author
Andrew Morton
<
[email protected]
>
Sun, 10 Feb 2008 07:41:40 +0000
(23:41 -0800)
committer
David S. Miller
<
[email protected]
>
Sun, 10 Feb 2008 07:41:40 +0000
(23:41 -0800)
From: Andrew Morton <
[email protected]
>
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 <
[email protected]
>
Cc: Sam Ravnborg <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/via-velocity.c
patch
|
blob
|
history
diff --git
a/drivers/net/via-velocity.c
b/drivers/net/via-velocity.c
index 8c9fb824cbd4015afe9685ba9b8bc20a0c4b13e8..cc0addb5640c0854f2ec88f124eee7497dc149d4 100644
(file)
--- 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},
{ }
};