diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-07-05 04:29:37 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-06 14:53:39 -0400 |
commit | 3aa99a3498403d23fe4a0cfa4fcbbedaf7c8134a (patch) | |
tree | 6eb04338464b72197b6b6c957366f73b66eb74c1 /arch/arm/mach-shmobile/include | |
parent | c99cc71efdaecf2e32608fba474bb0fd096b49ea (diff) |
ARM: shmobile: sh7372: completely switch over to using pm-rmobile API
Now, all sh7372 platforms are switched over to use pm-rmobile base PM domain,
and no one is using original sh7372_pm_domain APIs.
We can remove these, switching has been fully completed.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh7372.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index a7620c1afceb..b59048e6d8fd 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h | |||
@@ -478,22 +478,6 @@ extern struct clk sh7372_fsibck_clk; | |||
478 | extern struct clk sh7372_fsidiva_clk; | 478 | extern struct clk sh7372_fsidiva_clk; |
479 | extern struct clk sh7372_fsidivb_clk; | 479 | extern struct clk sh7372_fsidivb_clk; |
480 | 480 | ||
481 | struct platform_device; | ||
482 | |||
483 | struct sh7372_pm_domain { | ||
484 | struct generic_pm_domain genpd; | ||
485 | struct dev_power_governor *gov; | ||
486 | int (*suspend)(void); | ||
487 | void (*resume)(void); | ||
488 | unsigned int bit_shift; | ||
489 | bool no_debug; | ||
490 | }; | ||
491 | |||
492 | static inline struct sh7372_pm_domain *to_sh7372_pd(struct generic_pm_domain *d) | ||
493 | { | ||
494 | return container_of(d, struct sh7372_pm_domain, genpd); | ||
495 | } | ||
496 | |||
497 | #ifdef CONFIG_PM | 481 | #ifdef CONFIG_PM |
498 | extern struct rmobile_pm_domain sh7372_pd_a4lc; | 482 | extern struct rmobile_pm_domain sh7372_pd_a4lc; |
499 | extern struct rmobile_pm_domain sh7372_pd_a4mp; | 483 | extern struct rmobile_pm_domain sh7372_pd_a4mp; |
@@ -504,26 +488,6 @@ extern struct rmobile_pm_domain sh7372_pd_a3ri; | |||
504 | extern struct rmobile_pm_domain sh7372_pd_a4s; | 488 | extern struct rmobile_pm_domain sh7372_pd_a4s; |
505 | extern struct rmobile_pm_domain sh7372_pd_a3sp; | 489 | extern struct rmobile_pm_domain sh7372_pd_a3sp; |
506 | extern struct rmobile_pm_domain sh7372_pd_a3sg; | 490 | extern struct rmobile_pm_domain sh7372_pd_a3sg; |
507 | |||
508 | extern struct sh7372_pm_domain sh7372_a4lc; | ||
509 | extern struct sh7372_pm_domain sh7372_a4mp; | ||
510 | extern struct sh7372_pm_domain sh7372_d4; | ||
511 | extern struct sh7372_pm_domain sh7372_a4r; | ||
512 | extern struct sh7372_pm_domain sh7372_a3rv; | ||
513 | extern struct sh7372_pm_domain sh7372_a3ri; | ||
514 | extern struct sh7372_pm_domain sh7372_a4s; | ||
515 | extern struct sh7372_pm_domain sh7372_a3sp; | ||
516 | extern struct sh7372_pm_domain sh7372_a3sg; | ||
517 | |||
518 | extern void sh7372_init_pm_domain(struct sh7372_pm_domain *sh7372_pd); | ||
519 | extern void sh7372_add_device_to_domain(struct sh7372_pm_domain *sh7372_pd, | ||
520 | struct platform_device *pdev); | ||
521 | extern void sh7372_pm_add_subdomain(struct sh7372_pm_domain *sh7372_pd, | ||
522 | struct sh7372_pm_domain *sh7372_sd); | ||
523 | #else | ||
524 | #define sh7372_init_pm_domain(pd) do { } while(0) | ||
525 | #define sh7372_add_device_to_domain(pd, pdev) do { } while(0) | ||
526 | #define sh7372_pm_add_subdomain(pd, sd) do { } while(0) | ||
527 | #endif /* CONFIG_PM */ | 491 | #endif /* CONFIG_PM */ |
528 | 492 | ||
529 | extern void sh7372_intcs_suspend(void); | 493 | extern void sh7372_intcs_suspend(void); |