aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ap4evb.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-08-06 19:07:01 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-03 19:44:55 -0400
commit8bdd94689ef528738a0f14c44e069596a465d622 (patch)
tree521d2d77996f657247e9a536e48f0c85dc373246 /arch/arm/mach-shmobile/board-ap4evb.c
parent74a2799ab51acec9410f467fef8678ebb1125d7d (diff)
ARM: shmobile: Use names of power domains for adding devices to them
Make the power management code under arch/arm/mach-shmobile/ use names of power domains instead of pointers to domain objects for adding devices to the domains. This will allow us to put the domain objects into tables and register them all in one shot going forward. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index f172ca85905..b85957ad948 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -1461,14 +1461,14 @@ static void __init ap4evb_init(void)
1461 1461
1462 platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices)); 1462 platform_add_devices(ap4evb_devices, ARRAY_SIZE(ap4evb_devices));
1463 1463
1464 rmobile_add_device_to_domain(&sh7372_pd_a4lc, &lcdc1_device); 1464 rmobile_add_device_to_domain("A4LC", &lcdc1_device);
1465 rmobile_add_device_to_domain(&sh7372_pd_a4lc, &lcdc_device); 1465 rmobile_add_device_to_domain("A4LC", &lcdc_device);
1466 rmobile_add_device_to_domain(&sh7372_pd_a4mp, &fsi_device); 1466 rmobile_add_device_to_domain("A4MP", &fsi_device);
1467 1467
1468 rmobile_add_device_to_domain(&sh7372_pd_a3sp, &sh_mmcif_device); 1468 rmobile_add_device_to_domain("A3SP", &sh_mmcif_device);
1469 rmobile_add_device_to_domain(&sh7372_pd_a3sp, &sdhi0_device); 1469 rmobile_add_device_to_domain("A3SP", &sdhi0_device);
1470 rmobile_add_device_to_domain(&sh7372_pd_a3sp, &sdhi1_device); 1470 rmobile_add_device_to_domain("A3SP", &sdhi1_device);
1471 rmobile_add_device_to_domain(&sh7372_pd_a4r, &ceu_device); 1471 rmobile_add_device_to_domain("A4R", &ceu_device);
1472 1472
1473 hdmi_init_pm_clock(); 1473 hdmi_init_pm_clock();
1474 fsi_init_pm_clock(); 1474 fsi_init_pm_clock();