aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-08-14 07:35:39 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2011-08-25 09:33:45 -0400
commit111058c3ff29a6a25216b31789046c2a330baa7d (patch)
treea6a50e24203092695d36ed1bea16d3169e01dbd8 /arch/arm/mach-shmobile/include
parentbc0403ff16e5305c3a14c2b0826616ceaabbf058 (diff)
ARM / shmobile: Make A3RV be a subdomain of A4LC on SH7372
Instead of coding the undocumented dependencies between power domains A3RV and A4LC on SH7372 directly into the low-level power up/down routines, make A3RV be a subdomain of A4LC, which will cause the same dependecies to hold. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r--arch/arm/mach-shmobile/include/mach/sh7372.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h
index ce595cee86cd..713cd2111e85 100644
--- a/arch/arm/mach-shmobile/include/mach/sh7372.h
+++ b/arch/arm/mach-shmobile/include/mach/sh7372.h
@@ -494,9 +494,12 @@ extern struct sh7372_pm_domain sh7372_a3sg;
494extern void sh7372_init_pm_domain(struct sh7372_pm_domain *sh7372_pd); 494extern void sh7372_init_pm_domain(struct sh7372_pm_domain *sh7372_pd);
495extern void sh7372_add_device_to_domain(struct sh7372_pm_domain *sh7372_pd, 495extern void sh7372_add_device_to_domain(struct sh7372_pm_domain *sh7372_pd,
496 struct platform_device *pdev); 496 struct platform_device *pdev);
497extern void sh7372_pm_add_subdomain(struct sh7372_pm_domain *sh7372_pd,
498 struct sh7372_pm_domain *sh7372_sd);
497#else 499#else
498#define sh7372_init_pm_domain(pd) do { } while(0) 500#define sh7372_init_pm_domain(pd) do { } while(0)
499#define sh7372_add_device_to_domain(pd, pdev) do { } while(0) 501#define sh7372_add_device_to_domain(pd, pdev) do { } while(0)
502#define sh7372_pm_add_subdomain(pd, sd) do { } while(0)
500#endif /* CONFIG_PM */ 503#endif /* CONFIG_PM */
501 504
502#endif /* __ASM_SH7372_H__ */ 505#endif /* __ASM_SH7372_H__ */