[SERIAL] imx: Fix missed platform_driver_unregister

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2005-11-21 17:05:21 +00:00 committed by Russell King
parent db93a82fa9
commit c889b89619

View File

@ -994,7 +994,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);
platform_driver_unregister(&serial_imx_driver);
}
module_init(imx_serial_init);