提交 4b300c36 编写于 作者: S Sascha Hauer 提交者: Russell King

[ARM] 4481/1: Fix a bug when i.MX is compiled as a module

Fix the unregistration order in the i.MX serial driver
Signed-off-by: NSreekrishnan Venkateswaran <krishhna@gmail.com>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 9a79b227
......@@ -1114,8 +1114,8 @@ static int __init imx_serial_init(void)
static void __exit imx_serial_exit(void)
{
uart_unregister_driver(&imx_reg);
platform_driver_unregister(&serial_imx_driver);
uart_unregister_driver(&imx_reg);
}
module_init(imx_serial_init);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册