mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
Input: make needlessly global code static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
74570d413c
commit
ffc6b529e8
@ -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)
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user