diff --git a/[refs] b/[refs] index b5cb0d20b6a4..e3caba91f8f8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2b9e0bac9419404a2d210ccaffaec442fe63338e +refs/heads/master: 320da0d23ed1f82a896e0cfc1549a896d267777a diff --git a/trunk/drivers/char/hvc_console.c b/trunk/drivers/char/hvc_console.c index e7362c195b11..0f9d356d3bd9 100644 --- a/trunk/drivers/char/hvc_console.c +++ b/trunk/drivers/char/hvc_console.c @@ -846,8 +846,9 @@ int __init hvc_init(void) } module_init(hvc_init); -/* This isn't particularily necessary due to this being a console driver but it - * is nice to be thorough */ +/* This isn't particularily necessary due to this being a console driver + * but it is nice to be thorough. + */ static void __exit hvc_exit(void) { kthread_stop(hvc_task); @@ -856,5 +857,6 @@ static void __exit hvc_exit(void) tty_unregister_driver(hvc_driver); /* return tty_struct instances allocated in hvc_init(). */ put_tty_driver(hvc_driver); + unregister_console(&hvc_con_driver); } module_exit(hvc_exit);