drivers/mfd/ab3100-core.c

Andrew Morton akpm at linux-foundation.org
Fri Sep 18 11:30:19 EST 2009


On Fri, 18 Sep 2009 05:22:13 +0400
Anton Vorontsov <avorontsov at ru.mvista.com> wrote:

> On Thu, Sep 17, 2009 at 05:20:58PM -0700, Andrew Morton wrote:
> > This:
> > 
> > static const struct ab3100_init_setting __initdata
> > ab3100_init_settings[] = {
> 
> Looks like it should be __initconst, otherwise it's ambiguous.
> 
> > causes this:
> > 
> > drivers/mfd/ab3100-core.c:651: error: ab3100_init_settings causes a section type conflict
> > 
> > on ppc64.
> > 
> > I keep forgetting why.  Did MFD do something wrong or is powerpc borked
> > or did my compiler version expire?
> 

doh, OK, I forgot about initconst.  I'll try it..


More information about the Linuxppc-dev mailing list