Commit c889b896 authored by Russell King's avatar Russell King Committed by Russell King

[SERIAL] imx: Fix missed platform_driver_unregister

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent db93a82f
...@@ -994,7 +994,7 @@ static int __init imx_serial_init(void) ...@@ -994,7 +994,7 @@ static int __init imx_serial_init(void)
static void __exit imx_serial_exit(void) static void __exit imx_serial_exit(void)
{ {
uart_unregister_driver(&imx_reg); uart_unregister_driver(&imx_reg);
driver_unregister(&serial_imx_driver); platform_driver_unregister(&serial_imx_driver);
} }
module_init(imx_serial_init); module_init(imx_serial_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment