提交 afdadc06 编写于 作者: L Linus Walleij

gpio: staticize xway_stp_init()

This initcall is only called from the driver itself, staticize it.
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 3f97d5fc
...@@ -292,7 +292,7 @@ static struct platform_driver xway_stp_driver = { ...@@ -292,7 +292,7 @@ static struct platform_driver xway_stp_driver = {
}, },
}; };
int __init xway_stp_init(void) static int __init xway_stp_init(void)
{ {
return platform_driver_register(&xway_stp_driver); return platform_driver_register(&xway_stp_driver);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册