diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-01-04 00:27:56 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-01-04 00:27:56 +0400 |
commit | 038485ea9b66858c17f82e5393004532825106a7 (patch) | |
tree | e411be1686e4ed73c4f74f0388410231d26e5c76 /arch/arm/plat-mxc/include/mach/common.h | |
parent | 5d3cb0ffdd0c8987dc17a2ef4529b246198ceb72 (diff) | |
parent | 8b69791215857e3e885d27b3945759ace820794a (diff) | |
download | linux-038485ea9b66858c17f82e5393004532825106a7.tar.xz |
Merge branch 'imx6/pm' into next/pm
* imx6/pm:
ARM: imx6q: resume PL310 only when CACHE_L2X0 defined
ARM: imx6q: build pm code only when CONFIG_PM selected
ARM: mx5: use generic irq chip pm interface for pm functions on
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h index 6698cae942f7..3846c53f5b5d 100644 --- a/arch/arm/plat-mxc/include/mach/common.h +++ b/arch/arm/plat-mxc/include/mach/common.h @@ -130,6 +130,12 @@ extern void imx53_evk_common_init(void); extern void imx53_qsb_common_init(void); extern void imx53_smd_common_init(void); extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); -extern void imx6q_pm_init(void); extern void imx6q_clock_map_io(void); + +#ifdef CONFIG_PM +extern void imx6q_pm_init(void); +#else +static inline void imx6q_pm_init(void) {} +#endif + #endif |