[PATCH] x86-64: Use symbolic CPU features in early CPUID check
[powerpc.git] / drivers / video / platinumfb.c
index cb26c6d..2338716 100644 (file)
@@ -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);
        }