Commit ffc6b529 authored by Adrian Bunk's avatar Adrian Bunk Committed by Dmitry Torokhov

Input: make needlessly global code static

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 74570d41
...@@ -265,13 +265,13 @@ static struct serio_driver twidjoy_drv = { ...@@ -265,13 +265,13 @@ static struct serio_driver twidjoy_drv = {
* The functions for inserting/removing us as a module. * 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); serio_register_driver(&twidjoy_drv);
return 0; return 0;
} }
void __exit twidjoy_exit(void) static void __exit twidjoy_exit(void)
{ {
serio_unregister_driver(&twidjoy_drv); serio_unregister_driver(&twidjoy_drv);
} }
......
...@@ -154,7 +154,7 @@ static void mk712_close(struct input_dev *dev) ...@@ -154,7 +154,7 @@ static void mk712_close(struct input_dev *dev)
spin_unlock_irqrestore(&mk712_lock, flags); spin_unlock_irqrestore(&mk712_lock, flags);
} }
int __init mk712_init(void) static int __init mk712_init(void)
{ {
int err; int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment