summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_imx.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-16 17:25:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-17 20:16:58 +0200
commit006538e7c2c21eced61033813591e5cacf569108 (patch)
tree94cb4c75da67f87e05eb855c3fe60a7d57a6ca31 /drivers/mtd/nand/nand_imx.c
parent28d294de70f3884285efdde4f021c480744ce3f8 (diff)
downloadbarebox-006538e7c2c21eced61033813591e5cacf569108.tar.gz
barebox-006538e7c2c21eced61033813591e5cacf569108.tar.xz
mtd: add parent support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_imx.c')
-rw-r--r--drivers/mtd/nand/nand_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c
index b1b7f55e0e..0dcf34a688 100644
--- a/drivers/mtd/nand/nand_imx.c
+++ b/drivers/mtd/nand/nand_imx.c
@@ -1182,7 +1182,7 @@ static int __init imxnd_probe(struct device_d *dev)
this = &host->nand;
mtd = &host->mtd;
mtd->priv = this;
- mtd->dev = dev;
+ mtd->parent = dev;
/* 50 us command delay time */
this->chip_delay = 5;