aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-04-20 06:15:27 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-04-21 15:53:14 -0400
commitce89c206ac03dfec700cfa538dcbcc347c0683ce (patch)
tree5bab53a9eb4a71bcf1903a81a9b0b3eba925d43e /arch/arm/mach-s3c2410
parentef08574729bcf65bbd1f0c9ad9b9baa9bbd7a830 (diff)
[ARM] 4324/1: S3C24XX: remove clocks from s3c24xx_board
Remove the clocks from the s3c24xx_board as part of the process of simplifying the initialisation sequence by removing struct s3c24xx_board. 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-s3c2410')
-rw-r--r--arch/arm/mach-s3c2410/mach-bast.c4
-rw-r--r--arch/arm/mach-s3c2410/mach-vr1000.c4
2 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 7b81296427eb..0bb2e8b2dd28 100644
--- a/arch/arm/mach-s3c2410/mach-bast.c
+++ b/arch/arm/mach-s3c2410/mach-bast.c
@@ -467,8 +467,6 @@ static struct clk *bast_clocks[] = {
467static struct s3c24xx_board bast_board __initdata = { 467static struct s3c24xx_board bast_board __initdata = {
468 .devices = bast_devices, 468 .devices = bast_devices,
469 .devices_count = ARRAY_SIZE(bast_devices), 469 .devices_count = ARRAY_SIZE(bast_devices),
470 .clocks = bast_clocks,
471 .clocks_count = ARRAY_SIZE(bast_clocks),
472}; 470};
473 471
474static void __init bast_map_io(void) 472static void __init bast_map_io(void)
@@ -486,6 +484,8 @@ static void __init bast_map_io(void)
486 484
487 s3c24xx_uclk.parent = &s3c24xx_clkout1; 485 s3c24xx_uclk.parent = &s3c24xx_clkout1;
488 486
487 s3c24xx_register_clocks(bast_clocks, ARRAY_SIZE(bast_clocks));
488
489 s3c_device_nand.dev.platform_data = &bast_nand_info; 489 s3c_device_nand.dev.platform_data = &bast_nand_info;
490 s3c_device_i2c.dev.platform_data = &bast_i2c_info; 490 s3c_device_i2c.dev.platform_data = &bast_i2c_info;
491 491
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c
index c947c75bcbf0..9380a1360890 100644
--- a/arch/arm/mach-s3c2410/mach-vr1000.c
+++ b/arch/arm/mach-s3c2410/mach-vr1000.c
@@ -387,8 +387,6 @@ static struct clk *vr1000_clocks[] = {
387static struct s3c24xx_board vr1000_board __initdata = { 387static struct s3c24xx_board vr1000_board __initdata = {
388 .devices = vr1000_devices, 388 .devices = vr1000_devices,
389 .devices_count = ARRAY_SIZE(vr1000_devices), 389 .devices_count = ARRAY_SIZE(vr1000_devices),
390 .clocks = vr1000_clocks,
391 .clocks_count = ARRAY_SIZE(vr1000_clocks),
392}; 390};
393 391
394static void vr1000_power_off(void) 392static void vr1000_power_off(void)
@@ -412,6 +410,8 @@ static void __init vr1000_map_io(void)
412 410
413 s3c24xx_uclk.parent = &s3c24xx_clkout1; 411 s3c24xx_uclk.parent = &s3c24xx_clkout1;
414 412
413 s3c24xx_register_clocks(vr1000_clocks, ARRAY_SIZE(vr1000_clocks));
414
415 pm_power_off = vr1000_power_off; 415 pm_power_off = vr1000_power_off;
416 416
417 s3c24xx_init_io(vr1000_iodesc, ARRAY_SIZE(vr1000_iodesc)); 417 s3c24xx_init_io(vr1000_iodesc, ARRAY_SIZE(vr1000_iodesc));