Skip to content

Commit

Permalink
Input: make needlessly global code static
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Adrian Bunk authored and Dmitry Torokhov committed Jan 30, 2006
1 parent 74570d4 commit ffc6b52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/input/joystick/twidjoy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/mk712.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static void mk712_close(struct input_dev *dev)
spin_unlock_irqrestore(&mk712_lock, flags);
}

int __init mk712_init(void)
static int __init mk712_init(void)
{
int err;

Expand Down

0 comments on commit ffc6b52

Please sign in to comment.