Skip to contentSkip to conversation

input, misc: Fix CONFIG_PM defination in wistron_btns.c

PATCH Applied Rakib Mullick 2 participants 2 messages Dec 29, 2009 – Dec 30, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input, misc: Fix CONFIG_PM defination in wistron_btns.c

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

---

drivers/input/misc/wistron_btns.c +1 -1
@@ -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
 	},
maintainer Applied
#1 lore raw
Quoted 6 lines · Rakib Mullick

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

Applied, tahnk you Rakib.

Signature · 1 line
Dmitry