linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* REPOST PATCH: unregister_chrdev.patch
@ 2005-06-23 19:27 Jon Smirl
  0 siblings, 0 replies; only message in thread
From: Jon Smirl @ 2005-06-23 19:27 UTC (permalink / raw)
  To: fbdev

This one has not made it to linus either.

-- 
Jon Smirl
jonsmirl@gmail.com

#fbdev is missing unregister_chrdev() on unload
#Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
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);


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-23 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 19:27 REPOST PATCH: unregister_chrdev.patch Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).