From: Jon Smirl Date: Wed, 27 Jul 2005 18:46:04 +0000 (-0700) Subject: [PATCH] fbmem: use unregister_chrdev() on unload X-Git-Tag: v2.6.13-rc4~25^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e;p=linux-2.6 [PATCH] fbmem: use unregister_chrdev() on unload fbdev is missing unregister_chrdev() on unload. Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 2222de6ad8..40784a944d 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -1164,6 +1164,7 @@ static void __exit fbmem_exit(void) { class_destroy(fb_class); + unregister_chrdev(FB_MAJOR, "fb"); } module_exit(fbmem_exit);