diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/raw/pxa3xx_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c b/drivers/mtd/nand/raw/pxa3xx_nand.c index 3a9c9ca508..20d1aee7b3 100644 --- a/drivers/mtd/nand/raw/pxa3xx_nand.c +++ b/drivers/mtd/nand/raw/pxa3xx_nand.c @@ -1913,6 +1913,7 @@ static int pxa3xx_nand_probe(struct udevice *dev) * user's mtd partitions configuration would get broken. */ mtd->name = "pxa3xx_nand-0"; + mtd->dev = dev; info->cs = cs; ret = pxa3xx_nand_scan(mtd); if (ret) { |