Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4b300c362d690c8e0788f69ed91c22a0a76f7ce2
Commit:     4b300c362d690c8e0788f69ed91c22a0a76f7ce2
Parent:     9a79b2274186fade17134929d4f85b70d59a3840
Author:     Sascha Hauer <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 13:35:46 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri Jul 20 09:55:14 2007 +0100

    [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 <[EMAIL PROTECTED]>
    Acked-by: Sascha Hauer <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to