[PATCH] ARM: 2711/1: fix compilation on PXA targets with CONFIG_PM=n
[deliverable/linux.git] / arch / arm / mach-pxa / pxa27x.c
index aa3c3b2ab75e79e38ad57c25b2b87fd9a6a5c5bb..893964fb9659bbabed5ed818377f430315915ef2 100644 (file)
@@ -120,6 +120,8 @@ EXPORT_SYMBOL(get_clk_frequency_khz);
 EXPORT_SYMBOL(get_memclk_frequency_10khz);
 EXPORT_SYMBOL(get_lcdclk_frequency_10khz);
 
+#ifdef CONFIG_PM
+
 int pxa_cpu_pm_prepare(suspend_state_t state)
 {
        switch (state) {
@@ -153,6 +155,8 @@ void pxa_cpu_pm_enter(suspend_state_t state)
        }
 }
 
+#endif
+
 /*
  * device registration specific to PXA27x.
  */
This page took 0.02884 seconds and 5 git commands to generate.