diff options
Diffstat (limited to 'drivers/mtd/nand/nomadik_nand.c')
-rw-r--r-- | drivers/mtd/nand/nomadik_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
187 | pdata->exit(); | 187 | pdata->exit(); |
188 | 188 | ||
189 | if (host) { | 189 | if (host) { |
190 | nand_release(&host->mtd); | ||
190 | iounmap(host->cmd_va); | 191 | iounmap(host->cmd_va); |
191 | iounmap(host->data_va); | 192 | iounmap(host->data_va); |
192 | iounmap(host->addr_va); | 193 | iounmap(host->addr_va); |