summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick/twidjoy.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-30 03:51:07 +0100
committerDmitry Torokhov <dtor_core@ameritech.net>2006-01-30 03:51:07 +0100
commitffc6b529e8c46c73827008c7406f43482d71beed (patch)
tree7e1431c1f7e16f084e1a97ca360f2f62ba8c9762 /drivers/input/joystick/twidjoy.c
parentInput: mousedev - fix memory leak (diff)
downloadlinux-ffc6b529e8c46c73827008c7406f43482d71beed.tar.xz
linux-ffc6b529e8c46c73827008c7406f43482d71beed.zip
Input: make needlessly global code static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joystick/twidjoy.c')
-rw-r--r--drivers/input/joystick/twidjoy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/joystick/twidjoy.c b/drivers/input/joystick/twidjoy.c
index cd3a1e742a30..7f8b0093c5bc 100644
--- a/drivers/input/joystick/twidjoy.c
+++ b/drivers/input/joystick/twidjoy.c
@@ -265,13 +265,13 @@ static struct serio_driver twidjoy_drv = {
* 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);
}