Re: 2.6.13-mm2

Marko Kohtala
2005-09-10T06:33:24Z

On 9/9/05, Grant Coady <grant_lkml@dodo.com.au> wrote:
> Hi Andrew, Marko,
> On Fri, 9 Sep 2005 02:43:36 -0700, Andrew Morton <akpm@osdl.org> wrote:
> >Grant Coady <grant_lkml@dodo.com.au> wrote:
> >> On Thu, 8 Sep 2005 05:30:42 -0700, Andrew Morton <akpm@osdl.org> wrote:
> >>
> >> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13/2.6.13-mm2/
> >>
> >> Hi Andrew,
> >>
> >> After this error:
> >>
> >> CC drivers/parport/parport_pc.o
> >> drivers/parport/parport_pc.c:2511: error: via_686a_data causes a section type conflict
> >> drivers/parport/parport_pc.c:2520: error: via_8231_data causes a section type conflict
> >> drivers/parport/parport_pc.c:2705: error: parport_pc_superio_info causes a section type conflict
> >> drivers/parport/parport_pc.c:2782: error: cards causes a section type conflict
> >> make[2]: *** [drivers/parport/parport_pc.o] Error 1
> >> make[1]: *** [drivers/parport] Error 2
> >> make: *** [drivers] Error 2
> >
> >Yes, gcc 4.x doesn't like the consts for some reason.

And this was documented in linux/init.h: __devinitdata can not be
const. My mistake. Thanks for fixing it.