diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-21 17:05:21 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-21 17:05:21 +0000 |
commit | c889b89619339636240227abb9ee5c9ec1167a1a (patch) | |
tree | b5c9dcda9140bdd2f67e233abd5174c5289b9dab | |
parent | db93a82fa9d8b4d6e31c227922eaae829253bb88 (diff) | |
download | linux-c889b89619339636240227abb9ee5c9ec1167a1a.tar.gz linux-c889b89619339636240227abb9ee5c9ec1167a1a.tar.bz2 linux-c889b89619339636240227abb9ee5c9ec1167a1a.zip |
[SERIAL] imx: Fix missed platform_driver_unregister
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/serial/imx.c | 2 |
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) 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); |