mtd: nand: convert to nand_set_flash_node()
[deliverable/linux.git] / drivers / mtd / nand / sunxi_nand.c
index 824711845c44cb44a453b56b39c7f255bd43ae1b..0775ae4cf676ed0fd16cf1535db2bf531d88fb77 100644 (file)
@@ -1330,7 +1330,7 @@ static int sunxi_nand_chip_init(struct device *dev, struct sunxi_nfc *nfc,
         * in the DT.
         */
        nand->ecc.mode = NAND_ECC_HW;
-       nand->flash_node = np;
+       nand_set_flash_node(nand, np);
        nand->select_chip = sunxi_nfc_select_chip;
        nand->cmd_ctrl = sunxi_nfc_cmd_ctrl;
        nand->read_buf = sunxi_nfc_read_buf;
This page took 0.023698 seconds and 5 git commands to generate.