diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-07-27 14:46:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:18 -0400 |
commit | 5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e (patch) | |
tree | cb7a68d23fb93e3b72d9338b1b2f69aaa0f3e91b /drivers/video/fbmem.c | |
parent | 0a793b77f786022bd0fef1a18142c1b9be9e421d (diff) |
[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 | |||
1164 | fbmem_exit(void) | 1164 | fbmem_exit(void) |
1165 | { | 1165 | { |
1166 | class_destroy(fb_class); | 1166 | class_destroy(fb_class); |
1167 | unregister_chrdev(FB_MAJOR, "fb"); | ||
1167 | } | 1168 | } |
1168 | 1169 | ||
1169 | module_exit(fbmem_exit); | 1170 | module_exit(fbmem_exit); |