X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmtd%2Fnand%2Fedb7312.c;h=1daf8231aaefc079885be293a7f598e88bb87401;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=516c0e5e564cb2b03a8a02a73e0c58a90798ced8;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/drivers/mtd/nand/edb7312.c b/drivers/mtd/nand/edb7312.c index 516c0e5e5..1daf8231a 100644 --- a/drivers/mtd/nand/edb7312.c +++ b/drivers/mtd/nand/edb7312.c @@ -198,6 +198,9 @@ static void __exit ep7312_cleanup(void) /* Release resources, unregister device */ nand_release(ap7312_mtd); + /* Release io resource */ + iounmap(this->IO_ADDR_R); + /* Free the MTD device structure */ kfree(ep7312_mtd); }