diff options
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-rx3715.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-rx3715.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2440/mach-rx3715.c b/arch/arm/mach-s3c2440/mach-rx3715.c index bc8d8d1ebd1a..a952a13afb1f 100644 --- a/arch/arm/mach-s3c2440/mach-rx3715.c +++ b/arch/arm/mach-s3c2440/mach-rx3715.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* linux/arch/arm/mach-s3c2440/mach-rx3715.c | 1 | /* linux/arch/arm/mach-s3c2440/mach-rx3715.c |
2 | * | 2 | * |
3 | * Copyright (c) 2003,2004 Simtec Electronics | 3 | * Copyright (c) 2003-2004 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 5 | * |
6 | * http://www.handhelds.org/projects/rx3715.html | 6 | * http://www.handhelds.org/projects/rx3715.html |
@@ -149,7 +149,7 @@ static struct s3c2410fb_mach_info rx3715_fb_info __initdata = { | |||
149 | .gpdup_mask = 0xffffffff, | 149 | .gpdup_mask = 0xffffffff, |
150 | }; | 150 | }; |
151 | 151 | ||
152 | static struct mtd_partition rx3715_nand_part[] = { | 152 | static struct mtd_partition __initdata rx3715_nand_part[] = { |
153 | [0] = { | 153 | [0] = { |
154 | .name = "Whole Flash", | 154 | .name = "Whole Flash", |
155 | .offset = 0, | 155 | .offset = 0, |
@@ -158,7 +158,7 @@ static struct mtd_partition rx3715_nand_part[] = { | |||
158 | } | 158 | } |
159 | }; | 159 | }; |
160 | 160 | ||
161 | static struct s3c2410_nand_set rx3715_nand_sets[] = { | 161 | static struct s3c2410_nand_set __initdata rx3715_nand_sets[] = { |
162 | [0] = { | 162 | [0] = { |
163 | .name = "Internal", | 163 | .name = "Internal", |
164 | .nr_chips = 1, | 164 | .nr_chips = 1, |
@@ -167,7 +167,7 @@ static struct s3c2410_nand_set rx3715_nand_sets[] = { | |||
167 | }, | 167 | }, |
168 | }; | 168 | }; |
169 | 169 | ||
170 | static struct s3c2410_platform_nand rx3715_nand_info = { | 170 | static struct s3c2410_platform_nand __initdata rx3715_nand_info = { |
171 | .tacls = 25, | 171 | .tacls = 25, |
172 | .twrph0 = 50, | 172 | .twrph0 = 50, |
173 | .twrph1 = 15, | 173 | .twrph1 = 15, |
@@ -186,8 +186,6 @@ static struct platform_device *rx3715_devices[] __initdata = { | |||
186 | 186 | ||
187 | static void __init rx3715_map_io(void) | 187 | static void __init rx3715_map_io(void) |
188 | { | 188 | { |
189 | s3c_device_nand.dev.platform_data = &rx3715_nand_info; | ||
190 | |||
191 | s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); | 189 | s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); |
192 | s3c24xx_init_clocks(16934000); | 190 | s3c24xx_init_clocks(16934000); |
193 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); | 191 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); |
@@ -205,6 +203,7 @@ static void __init rx3715_init_machine(void) | |||
205 | #endif | 203 | #endif |
206 | s3c_pm_init(); | 204 | s3c_pm_init(); |
207 | 205 | ||
206 | s3c_nand_set_platdata(&rx3715_nand_info); | ||
208 | s3c24xx_fb_set_platdata(&rx3715_fb_info); | 207 | s3c24xx_fb_set_platdata(&rx3715_fb_info); |
209 | platform_add_devices(rx3715_devices, ARRAY_SIZE(rx3715_devices)); | 208 | platform_add_devices(rx3715_devices, ARRAY_SIZE(rx3715_devices)); |
210 | } | 209 | } |