|
@@ -295,6 +295,8 @@ static int __init hpfb_init_one(unsigned long phys_base, unsigned long virt_base
|
|
|
|
|
|
if (register_framebuffer(&fb_info) < 0) {
|
|
if (register_framebuffer(&fb_info) < 0) {
|
|
fb_dealloc_cmap(&fb_info.cmap);
|
|
fb_dealloc_cmap(&fb_info.cmap);
|
|
|
|
+ iounmap(fb_info.screen_base);
|
|
|
|
+ fb_info.screen_base = NULL;
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|