[PATCH] ARM: S3C64XX: Fix build of Cragganmore after SPI changes
Kukjin Kim
kgene.kim at samsung.com
Wed Dec 28 22:36:50 EST 2011
Mark Brown wrote:
>
> Commit 875a59 (ARM: SAMSUNG: Consolidation of SPI platform devices to
> plat-samsung) replaced the function s3c64xx_spi_set_info() with
> s3c64xx_spiN_set_platdata() but did not update all the machines, with
> Cragganmore being left. Fix that.
>
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
> arch/arm/mach-s3c64xx/mach-crag6410.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-
> s3c64xx/mach-crag6410.c
> index 3600998..b77331e 100644
> --- a/arch/arm/mach-s3c64xx/mach-crag6410.c
> +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
> @@ -736,7 +736,7 @@ static void __init crag6410_machine_init(void)
> i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
>
> samsung_keypad_set_platdata(&crag6410_keypad_data);
> - s3c64xx_spi_set_info(0, 0, 1);
> + s3c64xx_spi0_set_platdata(NULL, 0, 1);
>
> platform_add_devices(crag6410_devices,
> ARRAY_SIZE(crag6410_devices));
>
> --
> 1.7.7.3
Yeah, some machines can be missed to update.
Thanks, will apply.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list