aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/neo1973kbd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/keyboard/neo1973kbd.c b/drivers/input/keyboard/neo1973kbd.c
index 929a2bbfcee..56bc9ee0d82 100644
--- a/drivers/input/keyboard/neo1973kbd.c
+++ b/drivers/input/keyboard/neo1973kbd.c
@@ -26,7 +26,11 @@
#include <mach/gpio.h>
#include <asm/mach-types.h>
+#ifdef CONFIG_PM
extern int global_inside_suspend;
+#else
+#define global_inside_suspend 0
+#endif
struct neo1973kbd {
struct platform_device *pdev;