drivers/mfd/ab3100-core.c
This:
static const struct ab3100_init_setting __initdata ab3100_init_settings[] = {
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?
Quoted 17 lines · On Fri, 18 Sep 2009 05:22:13 +0400 Anton Vorontsov <[email protected]>…
Quoted 4 lines · Andrew Morton
This:
static const struct
ab3100_init_setting__initdataab3100_init_settings[] = {Looks like it should be
__initconst, otherwise it's ambiguous.Quoted 8 lines
causes this:
drivers/mfd/ab3100-core.c:651: error:ab3100_init_settingscauses a section type conflicton 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..
Quoted 4 lines · Andrew Morton
This:
static const struct
ab3100_init_setting__initdataab3100_init_settings[] = {
Looks like it should be __initconst, otherwise it's ambiguous.
Quoted 8 lines
causes this:
drivers/mfd/ab3100-core.c:651: error:ab3100_init_settingscauses a section type conflicton ppc64.
I keep forgetting why. Did MFD do something wrong or is powerpc borked or did my compiler version expire?
Thanks,
Signature · 3 lines
Anton Vorontsov email: [email protected] irc://irc.freenode.net/bd2