diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-09-28 06:59:49 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-11-30 20:34:16 -0500 |
commit | 2a3a18045b136487b22733d57410e6dccd34ac84 (patch) | |
tree | 4152d54029bd5c82e210dacbbba3b7629c14ca3c /arch/arm/mach-s3c2442/mach-gta02.c | |
parent | ff34aaa9535afc46b017f7a9b553dbf3e0ad5084 (diff) |
ARM: S3C: Add NAND device platform data set call
Diffstat (limited to 'arch/arm/mach-s3c2442/mach-gta02.c')
-rw-r--r-- | arch/arm/mach-s3c2442/mach-gta02.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c index 0fb385bd9cd9..f76d6ff4aeb9 100644 --- a/arch/arm/mach-s3c2442/mach-gta02.c +++ b/arch/arm/mach-s3c2442/mach-gta02.c | |||
@@ -423,7 +423,7 @@ static struct i2c_board_info gta02_i2c_devs[] __initdata = { | |||
423 | }, | 423 | }, |
424 | }; | 424 | }; |
425 | 425 | ||
426 | static struct s3c2410_nand_set gta02_nand_sets[] = { | 426 | static struct s3c2410_nand_set __initdata gta02_nand_sets[] = { |
427 | [0] = { | 427 | [0] = { |
428 | /* | 428 | /* |
429 | * This name is also hard-coded in the boot loaders, so | 429 | * This name is also hard-coded in the boot loaders, so |
@@ -442,7 +442,7 @@ static struct s3c2410_nand_set gta02_nand_sets[] = { | |||
442 | * data sheet (K5D2G13ACM-D075 MCP Memory). | 442 | * data sheet (K5D2G13ACM-D075 MCP Memory). |
443 | */ | 443 | */ |
444 | 444 | ||
445 | static struct s3c2410_platform_nand gta02_nand_info = { | 445 | static struct s3c2410_platform_nand __initdata gta02_nand_info = { |
446 | .tacls = 0, | 446 | .tacls = 0, |
447 | .twrph0 = 25, | 447 | .twrph0 = 25, |
448 | .twrph1 = 15, | 448 | .twrph1 = 15, |
@@ -621,9 +621,9 @@ static void __init gta02_machine_init(void) | |||
621 | #endif | 621 | #endif |
622 | 622 | ||
623 | s3c_device_usb.dev.platform_data = >a02_usb_info; | 623 | s3c_device_usb.dev.platform_data = >a02_usb_info; |
624 | s3c_device_nand.dev.platform_data = >a02_nand_info; | ||
625 | 624 | ||
626 | s3c24xx_udc_set_platdata(>a02_udc_cfg); | 625 | s3c24xx_udc_set_platdata(>a02_udc_cfg); |
626 | s3c_nand_set_platdata(>a02_nand_info); | ||
627 | s3c_i2c0_set_platdata(NULL); | 627 | s3c_i2c0_set_platdata(NULL); |
628 | 628 | ||
629 | i2c_register_board_info(0, gta02_i2c_devs, ARRAY_SIZE(gta02_i2c_devs)); | 629 | i2c_register_board_info(0, gta02_i2c_devs, ARRAY_SIZE(gta02_i2c_devs)); |