Thread (4 messages) 4 messages, 2 authors, 2011-12-30
STALE5311d

[PATCH] ARM: S3C64XX: Fix build of Cragganmore after SPI changes

From: Kukjin Kim <hidden>
Date: 2011-12-29 03:36:50
Also in: linux-samsung-soc

Mark Brown wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
---
 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 [off-list ref], Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help