Skip to contentSkip to conversation

Third repost: unregister_chrdev.patch

PATCH Jon Smirl 1 participant 1 message Jul 13, 2005 Framebuffer layer

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

Can we get this into the kernel?

--
Jon Smirl
[email protected]

#fbdev is missing unregister_chrdev() on unload
#Signed-off-by: Jon Smirl <[email protected]>

drivers/video/fbmem.c +1 -0
@@ -1164,6 +1164,7 @@ static void __exit
 fbmem_exit(void)
 {
       class_destroy(fb_class);
+       unregister_chrdev(FB_MAJOR, "fb");
 }
 
 module_exit(fbmem_exit);

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar