mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
[SERIAL] imx: Fix missed platform_driver_unregister
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
db93a82fa9
commit
c889b89619
@ -994,7 +994,7 @@ static int __init imx_serial_init(void)
|
|||||||
static void __exit imx_serial_exit(void)
|
static void __exit imx_serial_exit(void)
|
||||||
{
|
{
|
||||||
uart_unregister_driver(&imx_reg);
|
uart_unregister_driver(&imx_reg);
|
||||||
driver_unregister(&serial_imx_driver);
|
platform_driver_unregister(&serial_imx_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(imx_serial_init);
|
module_init(imx_serial_init);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user