diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/cyberfb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/cyberfb.c b/drivers/video/cyberfb.c index c40e72dafb0..bc1cc44b1e3 100644 --- a/drivers/video/cyberfb.c +++ b/drivers/video/cyberfb.c @@ -1055,6 +1055,8 @@ int __init cyberfb_init(void) if (register_framebuffer(&fb_info) < 0) { DPRINTK("EXIT - register_framebuffer failed\n"); + if (CyberBase) + iounmap(CyberBase); release_mem_region(CyberMem_phys, 0x400000); release_mem_region(CyberRegs_phys, 0x10000); return -EINVAL; |