From: Rakib Mullick <rakib.mullick@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Alessandro Rubini <rubini@vision.unipv.it>
Subject: [PATCH] input, mouse: Change the prototype of functions in lifebook.c
Date: Tue, 29 Dec 2009 10:09:24 +0600 [thread overview]
Message-ID: <b9df5fa10912282009x5d0d2de4q36ab8a1f29d5a7de@mail.gmail.com> (raw)
When CONFIG_PM=n, then we are warned by the following warning:
drivers/input/mouse/lifebook.c:33: warning: 'lifebook_limit_serio3'
defined but not used
drivers/input/mouse/lifebook.c:41: warning: 'lifebook_set_6byte_proto'
defined but not used
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
---
--- linus/drivers/input/mouse/lifebook.c 2009-12-28 12:37:51.000000000 +0600
+++ rakib/drivers/input/mouse/lifebook.c 2009-12-28 15:02:02.000000000 +0600
@@ -29,7 +29,7 @@ static bool lifebook_present;
static const char *desired_serio_phys;
-static int lifebook_limit_serio3(const struct dmi_system_id *d)
+static inline int lifebook_limit_serio3(const struct dmi_system_id *d)
{
desired_serio_phys = "isa0060/serio3";
return 0;
@@ -37,7 +37,7 @@ static int lifebook_limit_serio3(const s
static bool lifebook_use_6byte_proto;
-static int lifebook_set_6byte_proto(const struct dmi_system_id *d)
+static inline int lifebook_set_6byte_proto(const struct dmi_system_id *d)
{
lifebook_use_6byte_proto = true;
return 0;
next reply other threads:[~2009-12-29 4:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-29 4:09 Rakib Mullick [this message]
2009-12-30 6:19 ` Dmitry Torokhov
2009-12-30 13:29 ` Rakib Mullick
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=b9df5fa10912282009x5d0d2de4q36ab8a1f29d5a7de@mail.gmail.com \
--to=rakib.mullick@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rubini@vision.unipv.it \
/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®