commit | c889b89619339636240227abb9ee5c9ec1167a1a | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Mon Nov 21 17:05:21 2005 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Nov 21 17:05:21 2005 +0000 |
tree | b5c9dcda9140bdd2f67e233abd5174c5289b9dab | |
parent | db93a82fa9d8b4d6e31c227922eaae829253bb88 [diff] [blame] |
[SERIAL] imx: Fix missed platform_driver_unregister Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 355cd93..83c4c12 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c
@@ -994,7 +994,7 @@ static void __exit imx_serial_exit(void) { uart_unregister_driver(&imx_reg); - driver_unregister(&serial_imx_driver); + platform_driver_unregister(&serial_imx_driver); } module_init(imx_serial_init);