Thread (3 messages) 3 messages, 2 authors, 2009-09-18

Re: drivers/mfd/ab3100-core.c

From: Anton Vorontsov <hidden>
Date: 2009-09-18 01:50:28

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?
Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help