All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/input/: make some functions static
@ 2006-01-31 21:32 Adrian Bunk
  2006-01-31 21:40 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-01-31 21:32 UTC (permalink / raw)
  To: dtor_core; +Cc: linux-input, linux-joystick, linux-kernel

This patch makes some needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/input/joystick/twidjoy.c  |    4 ++--
 drivers/input/touchscreen/mk712.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.14-rc5-mm1-full/drivers/input/joystick/twidjoy.c.old	2005-11-04 11:37:38.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/input/joystick/twidjoy.c	2005-11-04 11:38:01.000000000 +0100
@@ -265,13 +265,13 @@
  * The functions for inserting/removing us as a module.
  */
 
-int __init twidjoy_init(void)
+static int __init twidjoy_init(void)
 {
 	serio_register_driver(&twidjoy_drv);
 	return 0;
 }
 
-void __exit twidjoy_exit(void)
+static void __exit twidjoy_exit(void)
 {
 	serio_unregister_driver(&twidjoy_drv);
 }
--- linux-2.6.14-rc5-mm1-full/drivers/input/touchscreen/mk712.c.old	2005-11-04 11:38:20.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/input/touchscreen/mk712.c	2005-11-04 11:38:29.000000000 +0100
@@ -154,7 +154,7 @@
 	spin_unlock_irqrestore(&mk712_lock, flags);
 }
 
-int __init mk712_init(void)
+static int __init mk712_init(void)
 {
 	int err;
 

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

* Re: [2.6 patch] drivers/input/: make some functions static
  2006-01-31 21:32 [2.6 patch] drivers/input/: make some functions static Adrian Bunk
@ 2006-01-31 21:40 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2006-01-31 21:40 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-input, linux-joystick, linux-kernel

On 1/31/06, Adrian Bunk <bunk@stusta.de> wrote:
> This patch makes some needlessly global functions static.
>

I applied your earlier version of the patch about 2 days ago ;) Will
push it out to Linus soon.

Thank you Adrian.

--
Dmitry

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

end of thread, other threads:[~2006-01-31 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31 21:32 [2.6 patch] drivers/input/: make some functions static Adrian Bunk
2006-01-31 21:40 ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.