Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ARM: mx51_efika: fix build error due to new mfd changes

MFD changes in 4ec1b54c ('mfd: mfd_cell is now implicitly available to
mc13xxx drivers') changed the mc13xxx_platform_data struct layout.

At the time all users were changed, but this driver was introduced in
another tree at the same time. This updates the mc13xxx_platform_data
user, fixing a build error.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andres Salomon and committed by
Linus Torvalds
b5b4bc32 e5217fb8

+4 -2
+4 -2
arch/arm/mach-mx5/mx51_efika.c
··· 572 572 573 573 static struct mc13xxx_platform_data mx51_efika_mc13892_data = { 574 574 .flags = MC13XXX_USE_RTC | MC13XXX_USE_REGULATOR, 575 - .num_regulators = ARRAY_SIZE(mx51_efika_regulators), 576 - .regulators = mx51_efika_regulators, 575 + .regulators = { 576 + .num_regulators = ARRAY_SIZE(mx51_efika_regulators), 577 + .regulators = mx51_efika_regulators, 578 + }, 577 579 }; 578 580 579 581 static struct spi_board_info mx51_efika_spi_board_info[] __initdata = {