mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] input, misc: Fix CONFIG_PM defination in wistron_btns.c
@ 2009-12-29  3:57 Rakib Mullick
  2009-12-30  6:18 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Rakib Mullick @ 2009-12-29  3:57 UTC (permalink / raw)
  To: LKML; +Cc: Dmitry Torokhov, Miloslav Trmac

 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@gmail.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
 	},

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] input, misc: Fix CONFIG_PM defination in wistron_btns.c
  2009-12-29  3:57 [PATCH] input, misc: Fix CONFIG_PM defination in wistron_btns.c Rakib Mullick
@ 2009-12-30  6:18 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2009-12-30  6:18 UTC (permalink / raw)
  To: Rakib Mullick; +Cc: LKML, Miloslav Trmac

On Tue, Dec 29, 2009 at 09:57:41AM +0600, Rakib Mullick wrote:
>  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@gmail.com>

Applied, tahnk you Rakib.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-30  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29  3:57 [PATCH] input, misc: Fix CONFIG_PM defination in wistron_btns.c Rakib Mullick
2009-12-30  6:18 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®