diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-08-07 01:13:37 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-04 01:44:57 +0200 |
commit | 7b5674075b7c7ddb0c4da18b1f104e1db774ce82 (patch) | |
tree | 8bbb5dfb3367c92599c48691d2599c8f3345a5f3 /arch/arm/mach-shmobile/include/mach/r8a7740.h | |
parent | e7e59a4b55706b0bbaba1cd8af46495553b6e876 (diff) | |
download | op-kernel-dev-7b5674075b7c7ddb0c4da18b1f104e1db774ce82.zip op-kernel-dev-7b5674075b7c7ddb0c4da18b1f104e1db774ce82.tar.gz |
ARM: shmobile: Move r8a7740's PM domain objects to a table
Instead of giving a name to every r8a7740's PM domain object, put
them all into a table and use rmobile_init_domains(), introduced by a
previous patch, for initializing them all altogether. Also, use
pm_genpd_add_subdomain_names() for adding A3SP as a subdomain of A4S.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/r8a7740.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7740.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7740.h b/arch/arm/mach-shmobile/include/mach/r8a7740.h index 7143147..59d252f 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7740.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7740.h @@ -607,9 +607,9 @@ enum { }; #ifdef CONFIG_PM -extern struct rmobile_pm_domain r8a7740_pd_a4s; -extern struct rmobile_pm_domain r8a7740_pd_a3sp; -extern struct rmobile_pm_domain r8a7740_pd_a4lc; +extern void __init r8a7740_init_pm_domains(void); +#else +static inline void r8a7740_init_pm_domains(void) {} #endif /* CONFIG_PM */ #endif /* __ASM_R8A7740_H__ */ |