提交 ffc6b529 编写于 作者: A Adrian Bunk 提交者: Dmitry Torokhov

Input: make needlessly global code static

Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 74570d41
......@@ -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);
}
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册