X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmtd%2Fnand%2Fnomadik_nand.c;h=b463ecfb4c1a248713073ab019efed1af2f3d538;hb=653f42f6b6348652c02737924abd6a5a6426e7ee;hp=b6a5c86ab31e922e1ddcf81dc88257012d61ad08;hpb=56aa53391059e3730a304da4dd96b7b123b9fb75;p=pandora-kernel.git diff --git a/drivers/mtd/nand/nomadik_nand.c b/drivers/mtd/nand/nomadik_nand.c index b6a5c86ab31e..b463ecfb4c1a 100644 --- a/drivers/mtd/nand/nomadik_nand.c +++ b/drivers/mtd/nand/nomadik_nand.c @@ -187,6 +187,7 @@ static int nomadik_nand_remove(struct platform_device *pdev) pdata->exit(); if (host) { + nand_release(&host->mtd); iounmap(host->cmd_va); iounmap(host->data_va); iounmap(host->addr_va);