aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2009-12-29 23:19:31 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-29 23:20:16 -0800
commite97006ae1c87f9630b6f5c4d4384921059d881a8 (patch)
treecd46b8c45d5e9c455b77b5100ae12f81e6776e94 /drivers/input
parentc6bde2d9cb75a41cd2b331953784843b4caa89df (diff)
Input: wistron - fix test for CONFIG_PM
This should fix the following compile warning: drivers/input/misc/wistron_btns.c:1331:5: warning: "CONFIG_PM" is not defined Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/misc/wistron_btns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c
index 38da6ab0438..c0afb71a3a6 100644
--- a/drivers/input/misc/wistron_btns.c
+++ b/drivers/input/misc/wistron_btns.c
@@ -1328,7 +1328,7 @@ static struct platform_driver wistron_driver = {
.driver = {
.name = "wistron-bios",
.owner = THIS_MODULE,
-#if CONFIG_PM
+#ifdef CONFIG_PM
.pm = &wistron_pm_ops,
#endif
},