via-velocity section fix
Subsystems (2)
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]>
Signed-off-by Andrew Morton <[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
@@ -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 }, { } };
_
From: [email protected]
Date: Fri, 08 Feb 2008 03:11:16 -0800
Quoted 11 lines
From: Andrew Morton <[email protected]>
gcc-3.4.4 on powerpc:
drivers/net/via-velocity.c:443: error:chip_info_tablecauses a section type conflicton this one I had to remove the
__devinitdatatoo. Don't know why.Cc Jeff Garzik <[email protected]>Cc Sam Ravnborg <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Applied.