[PATCH] fbmem: use unregister_chrdev() on unload
fbdev is missing unregister_chrdev() on unload. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Родитель
0a793b77f7
Коммит
5a340cce09
|
@ -1164,6 +1164,7 @@ static void __exit
|
||||||
fbmem_exit(void)
|
fbmem_exit(void)
|
||||||
{
|
{
|
||||||
class_destroy(fb_class);
|
class_destroy(fb_class);
|
||||||
|
unregister_chrdev(FB_MAJOR, "fb");
|
||||||
}
|
}
|
||||||
|
|
||||||
module_exit(fbmem_exit);
|
module_exit(fbmem_exit);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче