git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
video
/
hpfb.c
diff --git
a/drivers/video/hpfb.c
b/drivers/video/hpfb.c
index
91cf3b5
..
9ab9b83
100644
(file)
--- a/
drivers/video/hpfb.c
+++ b/
drivers/video/hpfb.c
@@
-295,6
+295,8
@@
static int __init hpfb_init_one(unsigned long phys_base, unsigned long virt_base
if (register_framebuffer(&fb_info) < 0) {
fb_dealloc_cmap(&fb_info.cmap);
+ iounmap(fb_info.screen_base);
+ fb_info.screen_base = NULL;
return 1;
}