mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] input, mouse: Change the prototype of functions in lifebook.c
@ 2009-12-29  4:09 Rakib Mullick
  2009-12-30  6:19 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Rakib Mullick @ 2009-12-29  4:09 UTC (permalink / raw)
  To: LKML, Andrew Morton; +Cc: Dmitry Torokhov, Alessandro Rubini

 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;

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29  4:09 [PATCH] input, mouse: Change the prototype of functions in lifebook.c Rakib Mullick
2009-12-30  6:19 ` Dmitry Torokhov
2009-12-30 13:29   ` Rakib Mullick

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®