From: Russell King Date: Mon, 21 Nov 2005 17:05:21 +0000 (+0000) Subject: [SERIAL] imx: Fix missed platform_driver_unregister X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c889b89619339636240227abb9ee5c9ec1167a1a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [SERIAL] imx: Fix missed platform_driver_unregister Signed-off-by: Russell King --- diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 355cd93a8a8..83c4c121658 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c @@ -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);