diff options
author | Sascha Hauer <sascha@saschahauer.de> | 2007-07-17 13:35:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-20 09:55:14 +0100 |
commit | 4b300c362d690c8e0788f69ed91c22a0a76f7ce2 (patch) | |
tree | 584c1418fe18e8093b6b2c7c24c3d87779871767 /drivers/serial | |
parent | 9a79b2274186fade17134929d4f85b70d59a3840 (diff) | |
download | kernel_samsung_smdk4412-4b300c362d690c8e0788f69ed91c22a0a76f7ce2.zip kernel_samsung_smdk4412-4b300c362d690c8e0788f69ed91c22a0a76f7ce2.tar.gz kernel_samsung_smdk4412-4b300c362d690c8e0788f69ed91c22a0a76f7ce2.tar.bz2 |
[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: Sreekrishnan Venkateswaran <krishhna@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial')
-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 e42faa4..dc19671 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c @@ -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); |