aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/ndfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/ndfc.c')
-rw-r--r--drivers/mtd/nand/ndfc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 69eaba690a99..253a644da76a 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -203,7 +203,8 @@ static int ndfc_probe(struct platform_device *ofdev)
203 struct ndfc_controller *ndfc; 203 struct ndfc_controller *ndfc;
204 const __be32 *reg; 204 const __be32 *reg;
205 u32 ccr; 205 u32 ccr;
206 int err, len, cs; 206 u32 cs;
207 int err, len;
207 208
208 /* Read the reg property to get the chip select */ 209 /* Read the reg property to get the chip select */
209 reg = of_get_property(ofdev->dev.of_node, "reg", &len); 210 reg = of_get_property(ofdev->dev.of_node, "reg", &len);