aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fm2fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fm2fb.c')
-rw-r--r--drivers/video/fm2fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fm2fb.c b/drivers/video/fm2fb.c
index 998374cfae6d..70ff55b14596 100644
--- a/drivers/video/fm2fb.c
+++ b/drivers/video/fm2fb.c
@@ -283,6 +283,7 @@ static int __devinit fm2fb_probe(struct zorro_dev *z,
283 283
284 if (register_framebuffer(info) < 0) { 284 if (register_framebuffer(info) < 0) {
285 fb_dealloc_cmap(&info->cmap); 285 fb_dealloc_cmap(&info->cmap);
286 iounmap(info->screen_base);
286 framebuffer_release(info); 287 framebuffer_release(info);
287 zorro_release_device(z); 288 zorro_release_device(z);
288 return -EINVAL; 289 return -EINVAL;