diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-08-06 19:07:01 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-03 19:44:55 -0400 |
commit | 8bdd94689ef528738a0f14c44e069596a465d622 (patch) | |
tree | 521d2d77996f657247e9a536e48f0c85dc373246 /arch/arm/mach-shmobile/board-armadillo800eva.c | |
parent | 74a2799ab51acec9410f467fef8678ebb1125d7d (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-armadillo800eva.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index cf10f92856dc..28e6e1d0d511 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -1181,10 +1181,10 @@ static void __init eva_init(void) | |||
1181 | 1181 | ||
1182 | eva_clock_init(); | 1182 | eva_clock_init(); |
1183 | 1183 | ||
1184 | rmobile_add_device_to_domain(&r8a7740_pd_a4lc, &lcdc0_device); | 1184 | rmobile_add_device_to_domain("A4LC", &lcdc0_device); |
1185 | rmobile_add_device_to_domain(&r8a7740_pd_a4lc, &hdmi_lcdc_device); | 1185 | rmobile_add_device_to_domain("A4LC", &hdmi_lcdc_device); |
1186 | if (usb) | 1186 | if (usb) |
1187 | rmobile_add_device_to_domain(&r8a7740_pd_a3sp, usb); | 1187 | rmobile_add_device_to_domain("A3SP", usb); |
1188 | } | 1188 | } |
1189 | 1189 | ||
1190 | static void __init eva_earlytimer_init(void) | 1190 | static void __init eva_earlytimer_init(void) |