Third repost: unregister_chrdev.patch

Started by Jon Smirl on Jul 13, 2005

Subsystems (2)

Maintainers (2)

open the first message on its own page

Message details and related content
Can we get this into the kernel?

--
Jon Smirl
jonsmirl@gmail.com

#fbdev is missing unregister_chrdev() on unload
#Signed-off-by: Jon Smirl [off-list ref]
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
--- 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);


-------------------------------------------------------
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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help