diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-06-17 12:31:26 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-07-06 03:29:45 +0300 |
commit | b587288001f05c0e6b4bdb5a5f0e7a28594cbf0d (patch) | |
tree | f625c669ea56e929aeac3f327d9944e042830821 /arch/arm/mach-shmobile/pm-rmobile.h | |
parent | 68a31785697c6292e4de3f54914a6ff5ebd0a82d (diff) | |
download | linux-b587288001f05c0e6b4bdb5a5f0e7a28594cbf0d.tar.xz |
ARM: shmobile: R-Mobile: Remove legacy PM Domain code
The last user of the legacy R-Mobile PM Domain code was the r8a7740
legacy SoC code, which has been removed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/pm-rmobile.h')
-rw-r--r-- | arch/arm/mach-shmobile/pm-rmobile.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-shmobile/pm-rmobile.h b/arch/arm/mach-shmobile/pm-rmobile.h index 3992b619c127..30a4a421ee31 100644 --- a/arch/arm/mach-shmobile/pm-rmobile.h +++ b/arch/arm/mach-shmobile/pm-rmobile.h @@ -31,28 +31,4 @@ struct pm_domain_device { struct platform_device *pdev; }; -#if defined(CONFIG_PM_RMOBILE) && defined(CONFIG_ARCH_SHMOBILE_LEGACY) -extern void rmobile_init_domains(struct rmobile_pm_domain domains[], int num); -extern void rmobile_add_device_to_domain_td(const char *domain_name, - struct platform_device *pdev, - struct gpd_timing_data *td); - -static inline void rmobile_add_device_to_domain(const char *domain_name, - struct platform_device *pdev) -{ - rmobile_add_device_to_domain_td(domain_name, pdev, NULL); -} - -extern void rmobile_add_devices_to_domains(struct pm_domain_device data[], - int size); -#else - -#define rmobile_init_domains(domains, num) do { } while (0) -#define rmobile_add_device_to_domain_td(name, pdev, td) do { } while (0) -#define rmobile_add_device_to_domain(name, pdev) do { } while (0) - -static inline void rmobile_add_devices_to_domains(struct pm_domain_device d[], - int size) {} -#endif /* CONFIG_PM_RMOBILE */ - #endif /* PM_RMOBILE_H */ |