diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-06-03 01:53:26 (GMT) |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 12:01:59 (GMT) |
commit | d80932b2dc497faa27e415c12f56f6ae1d087204 (patch) | |
tree | 316fd327eb56c49ec5622363de202c6d948c66f0 /drivers/mtd/nand/nomadik_nand.c | |
parent | 43c6871cae298e28700ca1ea76dc94b5f69446bc (diff) | |
download | linux-fsl-qoriq-d80932b2dc497faa27e415c12f56f6ae1d087204.tar.xz |
mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
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 b6a5c86..b463ecf 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); |