projects
/
platform
/
upstream
/
kernel-adaptation-pc.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
|
history
diff --git
a/drivers/serial/imx.c
b/drivers/serial/imx.c
index
b9a1f52
..
4a54ff5
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);