diff options
-rw-r--r-- | drivers/video/platinumfb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c index cb26c6df0583..233871655824 100644 --- a/drivers/video/platinumfb.c +++ b/drivers/video/platinumfb.c @@ -627,6 +627,9 @@ static int __devinit platinumfb_probe(struct of_device* odev, rc = platinum_init_fb(info); if (rc != 0) { + iounmap(pinfo->frame_buffer); + iounmap(pinfo->platinum_regs); + iounmap(pinfo->cmap_regs); dev_set_drvdata(&odev->dev, NULL); framebuffer_release(info); } |