From: Andrew Morton Date: Tue, 22 Sep 2009 00:01:07 +0000 (-0700) Subject: drivers/mfd/ab3100-core.c: fix powerpc build error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00d3803b656a5f0935518d746f6bb27d5181d29d;p=openwrt%2Fstaging%2Fblogic.git drivers/mfd/ab3100-core.c: fix powerpc build error drivers/mfd/ab3100-core.c:647: error: ab3100_init_settings causes a section type conflict Cc: Anton Vorontsov Cc: Samuel Ortiz Cc: Benjamin Herrenschmidt Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mfd/ab3100-core.c b/drivers/mfd/ab3100-core.c index c533f86ff5ea..5447da16a170 100644 --- a/drivers/mfd/ab3100-core.c +++ b/drivers/mfd/ab3100-core.c @@ -647,7 +647,7 @@ struct ab3100_init_setting { u8 setting; }; -static const struct ab3100_init_setting __initdata +static const struct ab3100_init_setting __initconst ab3100_init_settings[] = { { .abreg = AB3100_MCA,