diff options
author | Nicolas Pitre <nico@org.rmk.(none)> | 2005-06-13 17:35:41 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-06-13 17:35:41 -0400 |
commit | a8fa3f0c59f8a1e1d89542cff0be5b057b684653 (patch) | |
tree | 4e5cf8eadec0948c107c17b00db9b999ab1e469f /arch/arm/mach-pxa/pxa27x.c | |
parent | c0105338eb4e61e537ca34ae06921177cb6efcf0 (diff) |
[PATCH] ARM: 2711/1: fix compilation on PXA targets with CONFIG_PM=n
Patch from Nicolas Pitre
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index aa3c3b2ab75e..893964fb9659 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -120,6 +120,8 @@ EXPORT_SYMBOL(get_clk_frequency_khz); | |||
120 | EXPORT_SYMBOL(get_memclk_frequency_10khz); | 120 | EXPORT_SYMBOL(get_memclk_frequency_10khz); |
121 | EXPORT_SYMBOL(get_lcdclk_frequency_10khz); | 121 | EXPORT_SYMBOL(get_lcdclk_frequency_10khz); |
122 | 122 | ||
123 | #ifdef CONFIG_PM | ||
124 | |||
123 | int pxa_cpu_pm_prepare(suspend_state_t state) | 125 | int pxa_cpu_pm_prepare(suspend_state_t state) |
124 | { | 126 | { |
125 | switch (state) { | 127 | switch (state) { |
@@ -153,6 +155,8 @@ void pxa_cpu_pm_enter(suspend_state_t state) | |||
153 | } | 155 | } |
154 | } | 156 | } |
155 | 157 | ||
158 | #endif | ||
159 | |||
156 | /* | 160 | /* |
157 | * device registration specific to PXA27x. | 161 | * device registration specific to PXA27x. |
158 | */ | 162 | */ |