summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include
diff options
context:
space:
mode:
authorEric Miao2011-09-11 11:19:11 +0200
committerEric Miao2011-10-08 15:02:44 +0200
commitba4a90a6d86a428c295775b46e653ab8f8e459b8 (patch)
tree7882cd7abce23eca89d74dc61fba5fab3a64712a /arch/arm/mach-pxa/include
parentARM: pxa: fix building error by palm27x_lcd_init() when FB_PXA not defined (diff)
downloadkernel-qcow2-linux-ba4a90a6d86a428c295775b46e653ab8f8e459b8.tar.gz
kernel-qcow2-linux-ba4a90a6d86a428c295775b46e653ab8f8e459b8.tar.xz
kernel-qcow2-linux-ba4a90a6d86a428c295775b46e653ab8f8e459b8.zip
ARM: pxa/z2: fix building error of pxa27x_cpu_suspend() no longer available
Cc: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa27x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa27x.h b/arch/arm/mach-pxa/include/mach/pxa27x.h
index b9b1bdc4bacc..7cff640582b8 100644
--- a/arch/arm/mach-pxa/include/mach/pxa27x.h
+++ b/arch/arm/mach-pxa/include/mach/pxa27x.h
@@ -1,6 +1,7 @@
#ifndef __MACH_PXA27x_H
#define __MACH_PXA27x_H
+#include <linux/suspend.h>
#include <mach/hardware.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa27x.h>
@@ -21,6 +22,7 @@
extern void __init pxa27x_map_io(void);
extern void __init pxa27x_init_irq(void);
extern int __init pxa27x_set_pwrmode(unsigned int mode);
+extern void pxa27x_cpu_pm_enter(suspend_state_t state);
#define pxa27x_handle_irq ichp_handle_irq