linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mx51_efika: update platform data for new mfd changes
@ 2011-03-04 16:06 Andres Salomon
  2011-03-04 16:14 ` Sergei Shtylyov
  2011-03-07  8:53 ` Sascha Hauer
  0 siblings, 2 replies; 11+ messages in thread
From: Andres Salomon @ 2011-03-04 16:06 UTC (permalink / raw)
  To: Samuel Ortiz
  Cc: Sascha Hauer, Amit Kucheria, Russell King, linux-arm-kernel,
	linux-kernel, Stephen Rothwell, linux-next, Uwe Kleine-König

Note that this relies on stuff currently in mfd's next tree, but this
is also a newer driver.  I'm not sure which tree it should go through,
as it's a problem that shows up in next.



From: Andres Salomon <dilinger@queued.net>

MFD changes in c738892f cause the mc13xxx_platform_data struct
to change.  This changes one more (new) user of it, fixing a build
error.

Signed-off-by: Andres Salomon <dilinger@queued.net>
---
 arch/arm/mach-mx5/mx51_efika.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mx5/mx51_efika.c b/arch/arm/mach-mx5/mx51_efika.c
index 74991c9..6451fb4 100644
--- a/arch/arm/mach-mx5/mx51_efika.c
+++ b/arch/arm/mach-mx5/mx51_efika.c
@@ -572,8 +572,10 @@ static struct mc13xxx_regulator_init_data mx51_efika_regulators[] = {
 
 static struct mc13xxx_platform_data mx51_efika_mc13892_data = {
 	.flags = MC13XXX_USE_RTC | MC13XXX_USE_REGULATOR,
-	.num_regulators = ARRAY_SIZE(mx51_efika_regulators),
-	.regulators = mx51_efika_regulators,
+	.regulators = {
+		.num_regulators = ARRAY_SIZE(mx51_efika_regulators),
+		.regulators = mx51_efika_regulators,
+	},
 };
 
 static struct spi_board_info mx51_efika_spi_board_info[] __initdata = {
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-24 20:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 16:06 [PATCH] ARM: mx51_efika: update platform data for new mfd changes Andres Salomon
2011-03-04 16:14 ` Sergei Shtylyov
2011-03-04 16:38   ` Andres Salomon
2011-03-04 18:58     ` Sergei Shtylyov
2011-03-07 14:47       ` Mark Brown
2011-03-08  5:32         ` Andres Salomon
2011-03-04 19:46     ` Uwe Kleine-König
2011-03-07  8:53 ` Sascha Hauer
2011-03-11 20:44   ` Samuel Ortiz
2011-03-15  8:33     ` Sascha Hauer
2011-03-24 20:27   ` Andres Salomon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).