summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2440/mach-mini2440.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-09-28 13:59:49 +0300
committerBen Dooks <ben-linux@fluff.org>2009-12-01 01:34:16 +0000
commit2a3a18045b136487b22733d57410e6dccd34ac84 (patch)
tree4152d54029bd5c82e210dacbbba3b7629c14ca3c /arch/arm/mach-s3c2440/mach-mini2440.c
parentff34aaa9535afc46b017f7a9b553dbf3e0ad5084 (diff)
downloadblackbird-op-linux-2a3a18045b136487b22733d57410e6dccd34ac84.tar.gz
blackbird-op-linux-2a3a18045b136487b22733d57410e6dccd34ac84.zip
ARM: S3C: Add NAND device platform data set call
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-mini2440.c')
-rw-r--r--arch/arm/mach-s3c2440/mach-mini2440.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c
index 1c3382fefdd2..547d4fc99131 100644
--- a/arch/arm/mach-s3c2440/mach-mini2440.c
+++ b/arch/arm/mach-s3c2440/mach-mini2440.c
@@ -532,7 +532,6 @@ static void __init mini2440_map_io(void)
s3c24xx_init_clocks(12000000);
s3c24xx_init_uarts(mini2440_uartcfgs, ARRAY_SIZE(mini2440_uartcfgs));
- s3c_device_nand.dev.platform_data = &mini2440_nand_info;
s3c_device_sdi.dev.platform_data = &mini2440_mmc_cfg;
}
@@ -677,8 +676,11 @@ static void __init mini2440_init(void)
printk("\n");
s3c24xx_fb_set_platdata(&mini2440_fb_info);
}
+
s3c24xx_udc_set_platdata(&mini2440_udc_cfg);
+ s3c_nand_set_platdata(&mini2440_nand_info);
s3c_i2c0_set_platdata(NULL);
+
i2c_register_board_info(0, mini2440_i2c_devs,
ARRAY_SIZE(mini2440_i2c_devs));
OpenPOWER on IntegriCloud