From 006538e7c2c21eced61033813591e5cacf569108 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 16 Oct 2012 17:25:37 +0200 Subject: mtd: add parent support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- drivers/mtd/nand/nand_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mtd/nand/nand_imx.c') 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; -- cgit v1.2.3