diff options
author | Ben Dooks <ben-linux@fluff.org> | 2007-04-20 06:19:16 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-04-21 15:53:19 -0400 |
commit | 57e5171c9ff817d56344d8473e484d6870ae2bf3 (patch) | |
tree | 0c1f0259d0ac0714be0b5bd5600edfcc5cbac717 /arch/arm/mach-s3c2440/mach-rx3715.c | |
parent | ce89c206ac03dfec700cfa538dcbcc347c0683ce (diff) |
[ARM] 4325/1: S3C24XX: remove s3c24xx_board
Remove the use of struct s3c24xx_board as
this is just as easily done by using the
platform device registration functions to
make the initialisation sequence easier.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-rx3715.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-rx3715.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c2440/mach-rx3715.c b/arch/arm/mach-s3c2440/mach-rx3715.c index ae1d0a81fd6a..c3cc4bf158f6 100644 --- a/arch/arm/mach-s3c2440/mach-rx3715.c +++ b/arch/arm/mach-s3c2440/mach-rx3715.c | |||
@@ -202,11 +202,6 @@ static struct platform_device *rx3715_devices[] __initdata = { | |||
202 | &s3c_device_nand, | 202 | &s3c_device_nand, |
203 | }; | 203 | }; |
204 | 204 | ||
205 | static struct s3c24xx_board rx3715_board __initdata = { | ||
206 | .devices = rx3715_devices, | ||
207 | .devices_count = ARRAY_SIZE(rx3715_devices) | ||
208 | }; | ||
209 | |||
210 | static void __init rx3715_map_io(void) | 205 | static void __init rx3715_map_io(void) |
211 | { | 206 | { |
212 | s3c_device_nand.dev.platform_data = &rx3715_nand_info; | 207 | s3c_device_nand.dev.platform_data = &rx3715_nand_info; |
@@ -214,7 +209,6 @@ static void __init rx3715_map_io(void) | |||
214 | s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); | 209 | s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); |
215 | s3c24xx_init_clocks(16934000); | 210 | s3c24xx_init_clocks(16934000); |
216 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); | 211 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); |
217 | s3c24xx_set_board(&rx3715_board); | ||
218 | } | 212 | } |
219 | 213 | ||
220 | static void __init rx3715_init_irq(void) | 214 | static void __init rx3715_init_irq(void) |
@@ -230,9 +224,9 @@ static void __init rx3715_init_machine(void) | |||
230 | s3c2410_pm_init(); | 224 | s3c2410_pm_init(); |
231 | 225 | ||
232 | s3c24xx_fb_set_platdata(&rx3715_lcdcfg); | 226 | s3c24xx_fb_set_platdata(&rx3715_lcdcfg); |
227 | platform_add_devices(rx3715_devices, ARRAY_SIZE(rx3715_devices)); | ||
233 | } | 228 | } |
234 | 229 | ||
235 | |||
236 | MACHINE_START(RX3715, "IPAQ-RX3715") | 230 | MACHINE_START(RX3715, "IPAQ-RX3715") |
237 | /* Maintainer: Ben Dooks <ben@fluff.org> */ | 231 | /* Maintainer: Ben Dooks <ben@fluff.org> */ |
238 | .phys_io = S3C2410_PA_UART, | 232 | .phys_io = S3C2410_PA_UART, |