projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a79b22
)
[ARM] 4481/1: Fix a bug when i.MX is compiled as a module
author
Sascha Hauer
<sascha@saschahauer.de>
Tue, 17 Jul 2007 12:35:46 +0000
(13:35 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 08:55:14 +0000
(09:55 +0100)
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>
drivers/serial/imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/imx.c
b/drivers/serial/imx.c
index e42faa4e42829f9f06387ea5e8035f838b5bbd19..dc1967176fe228811b77a27fb2fcb82c41c8274c 100644
(file)
--- 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);