mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rakib Mullick <rakib.mullick@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Miloslav Trmac <mitr@volny.cz>
Subject: [PATCH] input, misc: Fix CONFIG_PM defination in wistron_btns.c
Date: Tue, 29 Dec 2009 09:57:41 +0600	[thread overview]
Message-ID: <b9df5fa10912281957n5b0ab34fgc1b2ffb239fb8e87@mail.gmail.com> (raw)

 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
 	},

             reply	other threads:[~2009-12-29  3:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29  3:57 Rakib Mullick [this message]
2009-12-30  6:18 ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9df5fa10912281957n5b0ab34fgc1b2ffb239fb8e87@mail.gmail.com \
    --to=rakib.mullick@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mitr@volny.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®