提交 25c8e03b 编写于 作者: L Linus Walleij 提交者: Grant Likely

spi/pl022: move probe call to subsys_initcall()

The PL022 SPI bus is sometimes used for early stuff like
regulators that need to be present at module_init() time, so
we move this to a subsys_initcall().
Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 05f25abc
......@@ -1983,7 +1983,7 @@ static int __init pl022_init(void)
return amba_driver_register(&pl022_driver);
}
module_init(pl022_init);
subsys_initcall(pl022_init);
static void __exit pl022_exit(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册