summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2009-12-30 08:19:31 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-30 08:20:16 +0100
commite97006ae1c87f9630b6f5c4d4384921059d881a8 (patch)
treecd46b8c45d5e9c455b77b5100ae12f81e6776e94
parentInput: psmouse - fix compile warning in hgpk module (diff)
downloadlinux-e97006ae1c87f9630b6f5c4d4384921059d881a8.tar.xz
linux-e97006ae1c87f9630b6f5c4d4384921059d881a8.zip
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>
-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 38da6ab04384..c0afb71a3a6d 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
},