diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index 910c5e6f67021e3281bcd10be1a5b4ef8d490e42..14102a3f70f5cc69bd19963919bad3522a2cda06 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c @@ -1010,7 +1010,7 @@ static int __devinit ffb_probe(struct platform_device *op) 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));