Skip to content

Commit

Permalink
[PATCH] fbmem: use unregister_chrdev() on unload
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jon Smirl authored and Linus Torvalds committed Jul 27, 2005
1 parent 0a793b7 commit 5a340cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,7 @@ static void __exit
fbmem_exit(void)
{
class_destroy(fb_class);
unregister_chrdev(FB_MAJOR, "fb");
}

module_exit(fbmem_exit);
Expand Down

0 comments on commit 5a340cc

Please sign in to comment.