Re: [PATCH] net drivers: fix section attributes for gcc

2006-04-11 Thread Sam Ravnborg
Is this pending in your tree Jeff? It fixes compile regressions with HOTPLUG disabled. Sam On Mon, Apr 03, 2006 at 04:28:46PM -0700, Randy.Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > If CONFIG_HOTPLUG=n, gcc doesn't like some __initdata to be > const (rodata) and o

[PATCH] net drivers: fix section attributes for gcc

2006-04-03 Thread Randy.Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> If CONFIG_HOTPLUG=n, gcc doesn't like some __initdata to be const (rodata) and other __initdata not const, so make the non-const __initdata const. gcc errors: drivers/net/bnx2.c:66: error: version causes a section type conflict drivers/net/starfire.c:338: er