summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-07 12:27:50 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2012-03-07 12:27:50 (GMT)
commit6f04247ba8d1ff5d2315d100b19caf77d0c31072 (patch)
tree4532227e9b35b09cd0c4e9be6056ea42db7cb518 /arch/arm/mach-s3c64xx
parentf73dc3db4fce70a95422b8b017f5fa0ebf12a8c0 (diff)
downloadlinux-fsl-qoriq-6f04247ba8d1ff5d2315d100b19caf77d0c31072.tar.xz
ARM: S3C64XX: Supply platform data for SPI on Cragganmore
Having to specify the platform data explicitly like this even though it is provided as a default doesn't feel entirely elegant but there we are. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410.c2
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 79f9934..e991127 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -789,7 +789,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);
+ s3c64xx_spi0_set_platdata(&s3c64xx_spi0_pdata, 0, 1);
platform_add_devices(crag6410_devices, ARRAY_SIZE(crag6410_devices));