[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9df5fa10912281957n5b0ab34fgc1b2ffb239fb8e87@mail.gmail.com>
Date: Tue, 29 Dec 2009 09:57:41 +0600
From: Rakib Mullick <rakib.mullick@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Miloslav Trmac <mitr@...ny.cz>
Subject: [PATCH] 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
Signed-off-by: Rakib Mullick <rakib.mullick@...il.com>
---
--- 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists