提交 5a340cce 编写于 作者: J Jon Smirl 提交者: Linus Torvalds

[PATCH] fbmem: use unregister_chrdev() on unload

fbdev is missing unregister_chrdev() on unload.
Signed-off-by: NJon Smirl <jonsmirl@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 0a793b77
......@@ -1164,6 +1164,7 @@ static void __exit
fbmem_exit(void)
{
class_destroy(fb_class);
unregister_chrdev(FB_MAJOR, "fb");
}
module_exit(fbmem_exit);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册