mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
[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:
parent
0a793b77f7
commit
5a340cce09
@ -1164,6 +1164,7 @@ static void __exit
|
||||
fbmem_exit(void)
|
||||
{
|
||||
class_destroy(fb_class);
|
||||
unregister_chrdev(FB_MAJOR, "fb");
|
||||
}
|
||||
|
||||
module_exit(fbmem_exit);
|
||||
|
Loading…
Reference in New Issue
Block a user