diff options
Diffstat (limited to 'drivers/mtd/nand/nand_imx.c')
-rw-r--r-- | drivers/mtd/nand/nand_imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c index 66c53670d3..09e26a6910 100644 --- a/drivers/mtd/nand/nand_imx.c +++ b/drivers/mtd/nand/nand_imx.c @@ -1106,7 +1106,7 @@ static struct nand_bbt_descr bbt_mirror_descr = { static int __init mxcnd_probe_dt(struct imx_nand_host *host) { - struct device_node *np = host->dev->device_node; + struct device_node *np = host->dev->of_node; int buswidth; if (!IS_ENABLED(CONFIG_OFDEVICE)) |