mtd: nand: convert to nand_set_flash_node()
[deliverable/linux.git] / drivers / mtd / nand / fsmc_nand.c
index 07af3dc7a4d2d9e82650af800a6aa4446d10a7a0..6f9e422e947e0bcd9e11eceb5ca99cfec14bc33a 100644 (file)
@@ -1033,7 +1033,7 @@ static int __init fsmc_nand_probe(struct platform_device *pdev)
        nand->options = pdata->options;
        nand->select_chip = fsmc_select_chip;
        nand->badblockbits = 7;
-       nand->flash_node = np;
+       nand_set_flash_node(nand, np);
 
        if (pdata->width == FSMC_NAND_BW16)
                nand->options |= NAND_BUSWIDTH_16;
This page took 0.024636 seconds and 5 git commands to generate.