diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-01-03 15:27:56 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-01-03 15:27:56 -0500 |
commit | 038485ea9b66858c17f82e5393004532825106a7 (patch) | |
tree | e411be1686e4ed73c4f74f0388410231d26e5c76 /arch/arm/plat-mxc/include/mach/common.h | |
parent | 5d3cb0ffdd0c8987dc17a2ef4529b246198ceb72 (diff) | |
parent | 8b69791215857e3e885d27b3945759ace820794a (diff) |
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); | |||
130 | extern void imx53_qsb_common_init(void); | 130 | extern void imx53_qsb_common_init(void); |
131 | extern void imx53_smd_common_init(void); | 131 | extern void imx53_smd_common_init(void); |
132 | extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); | 132 | extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); |
133 | extern void imx6q_pm_init(void); | ||
134 | extern void imx6q_clock_map_io(void); | 133 | extern void imx6q_clock_map_io(void); |
134 | |||
135 | #ifdef CONFIG_PM | ||
136 | extern void imx6q_pm_init(void); | ||
137 | #else | ||
138 | static inline void imx6q_pm_init(void) {} | ||
139 | #endif | ||
140 | |||
135 | #endif | 141 | #endif |