diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-07-27 11:46:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 16:26:18 -0700 |
commit | 5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e (patch) | |
tree | cb7a68d23fb93e3b72d9338b1b2f69aaa0f3e91b /drivers/video/fbmem.c | |
parent | 0a793b77f786022bd0fef1a18142c1b9be9e421d (diff) | |
download | talos-op-linux-5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e.tar.gz talos-op-linux-5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e.zip |
[PATCH] fbmem: use unregister_chrdev() on unload
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>
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 2222de6ad844..40784a944d05 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); |