projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e32e28e
)
[DRIVER MODEL] Add missing driver_unregister to IMX serial driver
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 30 Oct 2005 16:33:11 +0000
(16:33 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 30 Oct 2005 16:33:11 +0000
(16:33 +0000)
Fix the IMX serial driver to unregister its driver structure
when it is unloaded.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/imx.c
b/drivers/serial/imx.c
index b9a1f523c9a86d78cea7c89f77d570412b076abf..4a54ff5847003855e7643e3f57f64eb0947bb0eb 100644
(file)
--- a/
drivers/serial/imx.c
+++ b/
drivers/serial/imx.c
@@
-995,6
+995,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);
}
module_init(imx_serial_init);