OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c6871
)
mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove
author
Axel Lin
<axel.lin@gmail.com>
Fri, 3 Jun 2011 01:53:26 +0000
(09:53 +0800)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:01:59 +0000
(15:01 +0300)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/nomadik_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nomadik_nand.c
b/drivers/mtd/nand/nomadik_nand.c
index
b6a5c86
..
b463ecf
100644
(file)
--- 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);