diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2014-08-25 03:36:53 (GMT) |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-09-02 01:04:08 (GMT) |
commit | c41215b781efbfa22ffc9dc474c2981c130c153d (patch) | |
tree | 5f4936632033900755e329a7ee539d6ae1722f09 /arch/arm/mach-shmobile/r8a7740.h | |
parent | 433306747791845677ba662435a9bbbafaa21df3 (diff) | |
download | linux-c41215b781efbfa22ffc9dc474c2981c130c153d.tar.xz |
ARM: shmobile: r8a7740: Multiplatform support
Enable r8a7740 Multiplatform support for the generic r8a7740
machine vector. No board support is enabled, and the board
code for Armadillo 800 EVA DT Reference is left by itself.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/r8a7740.h')
-rw-r--r-- | arch/arm/mach-shmobile/r8a7740.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/r8a7740.h b/arch/arm/mach-shmobile/r8a7740.h index 3352fb8..f369b4b 100644 --- a/arch/arm/mach-shmobile/r8a7740.h +++ b/arch/arm/mach-shmobile/r8a7740.h @@ -53,10 +53,10 @@ extern void r8a7740_clock_init(u8 md_ck); extern void r8a7740_pinmux_init(void); extern void r8a7740_pm_init(void); -#ifdef CONFIG_PM +#if defined(CONFIG_PM) && !defined(CONFIG_ARCH_MULTIPLATFORM) extern void __init r8a7740_init_pm_domains(void); #else static inline void r8a7740_init_pm_domains(void) {} -#endif /* CONFIG_PM */ +#endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */ #endif /* __ASM_R8A7740_H__ */ |