提交 4dd9e742 编写于 作者: A Alessandro Rubini 提交者: Russell King

[ARM] 5505/1: serial amba-pl011: move to arch_initcall for earlier console

Signed-off-by: Alessandro Rubini <rubini@unipv.it>"
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 5a9d2515
......@@ -845,7 +845,11 @@ static void __exit pl011_exit(void)
uart_unregister_driver(&amba_reg);
}
module_init(pl011_init);
/*
* While this can be a module, if builtin it's most likely the console
* So let's leave module_exit but move module_init to an earlier place
*/
arch_initcall(pl011_init);
module_exit(pl011_exit);
MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册