aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/imx.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-21 12:05:21 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-21 12:05:21 -0500
commitc889b89619339636240227abb9ee5c9ec1167a1a (patch)
treeb5c9dcda9140bdd2f67e233abd5174c5289b9dab /drivers/serial/imx.c
parentdb93a82fa9d8b4d6e31c227922eaae829253bb88 (diff)
[SERIAL] imx: Fix missed platform_driver_unregister
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/imx.c')
-rw-r--r--drivers/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c
index 355cd93a8a87..83c4c1216587 100644
--- a/drivers/serial/imx.c
+++ b/drivers/serial/imx.c
@@ -994,7 +994,7 @@ static int __init imx_serial_init(void)
994static void __exit imx_serial_exit(void) 994static void __exit imx_serial_exit(void)
995{ 995{
996 uart_unregister_driver(&imx_reg); 996 uart_unregister_driver(&imx_reg);
997 driver_unregister(&serial_imx_driver); 997 platform_driver_unregister(&serial_imx_driver);
998} 998}
999 999
1000module_init(imx_serial_init); 1000module_init(imx_serial_init);