Skip to contentSkip to conversation

via-velocity section fix

PATCH Applied [email protected] 2 participants 2 messages Feb 8, 2008 – Feb 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/7 via-velocity section fix

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]>

---

 drivers/net/via-velocity.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/via-velocity.c renamed from drivers/net/via-velocity.c~via-velocity-section-fix +1 -1
diff -puN drivers/net/via-velocity.c~via-velocity-section-fix 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},
 	{ }
 };

_