[PATCH] input, misc: Fix CONFIG_PM defination in wistron_btns.c
From: Rakib Mullick
Date: Mon Dec 28 2009 - 22:59:00 EST
Fix CONFIG_PM defination.
We were warned by the following warning:
drivers/input/misc/wistron_btns.c:1331:5: warning: "CONFIG_PM" is not defined
Signed-off-by: Rakib Mullick <rakib.mullick@xxxxxxxxx>
---
--- linus/drivers/input/misc/wistron_btns.c 2009-12-28 12:37:50.000000000 +0600
+++ rakib/drivers/input/misc/wistron_btns.c 2009-12-28 14:48:43.000000000 +0600
@@ -1328,7 +1328,7 @@ static struct platform_driver wistron_dr
.driver = {
.name = "wistron-bios",
.owner = THIS_MODULE,
-#if CONFIG_PM
+#ifdef CONFIG_PM
.pm = &wistron_pm_ops,
#endif
},
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/