diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-12-03 16:33:01 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-12-03 16:33:01 -0500 |
commit | f18ea8276bc6b0f8584c442905e9badc2acc8785 (patch) | |
tree | f71e3f05420f35f7eaf838d93fb83d665aedcac4 /arch/arm/mach-s3c2410/mach-bast.c | |
parent | 3d4db84cee590dbf5b5fa49d8bcd9e1c60f2a4b5 (diff) | |
parent | 1a71e4ade19d51bab03b6837d4d33a953e4e1206 (diff) |
ARM: Merge next-s3c24xx-dev-rtp
Merge branch 'next-s3c24xx-dev-rtp' into for-rmk
Conflicts:
arch/arm/mach-s3c2440/mach-anubis.c
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-bast.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index c425eefb9f89..4c79ac8a6c33 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -248,7 +248,7 @@ static int chip0_map[] = { 1 }; | |||
248 | static int chip1_map[] = { 2 }; | 248 | static int chip1_map[] = { 2 }; |
249 | static int chip2_map[] = { 3 }; | 249 | static int chip2_map[] = { 3 }; |
250 | 250 | ||
251 | static struct mtd_partition bast_default_nand_part[] = { | 251 | static struct mtd_partition __initdata bast_default_nand_part[] = { |
252 | [0] = { | 252 | [0] = { |
253 | .name = "Boot Agent", | 253 | .name = "Boot Agent", |
254 | .size = SZ_16K, | 254 | .size = SZ_16K, |
@@ -274,7 +274,7 @@ static struct mtd_partition bast_default_nand_part[] = { | |||
274 | * socket. | 274 | * socket. |
275 | */ | 275 | */ |
276 | 276 | ||
277 | static struct s3c2410_nand_set bast_nand_sets[] = { | 277 | static struct s3c2410_nand_set __initdata bast_nand_sets[] = { |
278 | [0] = { | 278 | [0] = { |
279 | .name = "SmartMedia", | 279 | .name = "SmartMedia", |
280 | .nr_chips = 1, | 280 | .nr_chips = 1, |
@@ -324,7 +324,7 @@ static void bast_nand_select(struct s3c2410_nand_set *set, int slot) | |||
324 | __raw_writeb(tmp, BAST_VA_CTRL2); | 324 | __raw_writeb(tmp, BAST_VA_CTRL2); |
325 | } | 325 | } |
326 | 326 | ||
327 | static struct s3c2410_platform_nand bast_nand_info = { | 327 | static struct s3c2410_platform_nand __initdata bast_nand_info = { |
328 | .tacls = 30, | 328 | .tacls = 30, |
329 | .twrph0 = 60, | 329 | .twrph0 = 60, |
330 | .twrph1 = 60, | 330 | .twrph1 = 60, |
@@ -631,7 +631,6 @@ static void __init bast_map_io(void) | |||
631 | 631 | ||
632 | s3c24xx_register_clocks(bast_clocks, ARRAY_SIZE(bast_clocks)); | 632 | s3c24xx_register_clocks(bast_clocks, ARRAY_SIZE(bast_clocks)); |
633 | 633 | ||
634 | s3c_device_nand.dev.platform_data = &bast_nand_info; | ||
635 | s3c_device_hwmon.dev.platform_data = &bast_hwmon_info; | 634 | s3c_device_hwmon.dev.platform_data = &bast_hwmon_info; |
636 | 635 | ||
637 | s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc)); | 636 | s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc)); |
@@ -645,6 +644,7 @@ static void __init bast_init(void) | |||
645 | sysdev_register(&bast_pm_sysdev); | 644 | sysdev_register(&bast_pm_sysdev); |
646 | 645 | ||
647 | s3c_i2c0_set_platdata(&bast_i2c_info); | 646 | s3c_i2c0_set_platdata(&bast_i2c_info); |
647 | s3c_nand_set_platdata(&bast_nand_info); | ||
648 | s3c24xx_fb_set_platdata(&bast_fb_info); | 648 | s3c24xx_fb_set_platdata(&bast_fb_info); |
649 | platform_add_devices(bast_devices, ARRAY_SIZE(bast_devices)); | 649 | platform_add_devices(bast_devices, ARRAY_SIZE(bast_devices)); |
650 | 650 | ||