ARM: S3C64XX: Fix build of Cragganmore after SPI changes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Dec 2011 01:00:07 +0000 (10:00 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 20 Jan 2012 00:39:36 +0000 (09:39 +0900)
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@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/mach-crag6410.c

index 9da2d78f12f2268c564d09394f537798594e36ca..97bd8574d4c95995f9fdc5278a1c118a3fcc3d16 100644 (file)
@@ -776,6 +776,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_spi0_set_platdata(NULL, 0, 1);
 
        platform_add_devices(crag6410_devices, ARRAY_SIZE(crag6410_devices));