projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a793b7
)
[PATCH] fbmem: use unregister_chrdev() on unload
author
Jon Smirl
<jonsmirl@gmail.com>
Wed, 27 Jul 2005 18:46:04 +0000
(11:46 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:18 +0000
(16:26 -0700)
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>
drivers/video/fbmem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/fbmem.c
b/drivers/video/fbmem.c
index 2222de6ad8446b8d77ec879cf04ecface133fa83..40784a944d05ea824470e09e4a7f918ff1a6032b 100644
(file)
--- 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);