提交 5985d76c 编写于 作者: H Haojian Zhuang 提交者: Linus Walleij

gpio: pl061: set initcall level to module init

Replace subsys initcall by module initcall level. Since pinctrl
driver is already launched before gpio driver. It's unnecessary
to set gpio driver in subsys init call level.
Signed-off-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
Tested-by: NDinh Nguyen <dinguyen@altera.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 6a89a314
......@@ -365,7 +365,7 @@ static int __init pl061_gpio_init(void)
{
return amba_driver_register(&pl061_gpio_driver);
}
subsys_initcall(pl061_gpio_init);
module_init(pl061_gpio_init);
MODULE_AUTHOR("Baruch Siach <baruch@tkos.co.il>");
MODULE_DESCRIPTION("PL061 GPIO driver");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册