]> Pileus Git - ~andy/linux/blobdiff - drivers/video/ffb.c
fbdev: sh_mobile_lcdcfb: Fix up fallout from MERAM changes.
[~andy/linux] / drivers / video / ffb.c
index 910c5e6f67021e3281bcd10be1a5b4ef8d490e42..14102a3f70f5cc69bd19963919bad3522a2cda06 100644 (file)
@@ -1010,7 +1010,7 @@ out_dealloc_cmap:
        fb_dealloc_cmap(&info->cmap);
 
 out_unmap_dac:
-       of_iounmap(&op->resource[2], par->fbc, sizeof(struct ffb_fbc));
+       of_iounmap(&op->resource[1], par->dac, sizeof(struct ffb_dac));
 
 out_unmap_fbc:
        of_iounmap(&op->resource[2], par->fbc, sizeof(struct ffb_fbc));