diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-03-22 16:07:18 -0400 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-27 10:09:38 -0400 |
commit | 63757d463ea683b469c1976032054d46cecdef09 (patch) | |
tree | 24e02bcccc809e497d179cfe9c21231c9aebdbec /drivers/mtd/nand | |
parent | 1394a7265f88e1fbd001048113f28fb090e5eff5 (diff) |
mtd: nand: denali: call nand_set_flash_node() to set DT node
This will allow nand_dt_init() to parse DT properties in the NAND
controller device node.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/denali.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 4b907a5bdb25..f120f143539b 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c | |||
@@ -1441,6 +1441,7 @@ int denali_init(struct denali_nand_info *denali) | |||
1441 | /* now that our ISR is registered, we can enable interrupts */ | 1441 | /* now that our ISR is registered, we can enable interrupts */ |
1442 | denali_set_intr_modes(denali, true); | 1442 | denali_set_intr_modes(denali, true); |
1443 | mtd->name = "denali-nand"; | 1443 | mtd->name = "denali-nand"; |
1444 | nand_set_flash_node(chip, denali->dev->of_node); | ||
1444 | 1445 | ||
1445 | /* register the driver with the NAND core subsystem */ | 1446 | /* register the driver with the NAND core subsystem */ |
1446 | chip->select_chip = denali_select_chip; | 1447 | chip->select_chip = denali_select_chip; |