diff options
author | Hemant Pedanekar <hemantp@ti.com> | 2009-10-01 10:25:06 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-10-05 02:50:45 -0400 |
commit | 5cd0be8ec946ee3901e7f651a795225c6badff8f (patch) | |
tree | 093606fa9fee57ff96aef4e8dfeb6c0930b83cd2 | |
parent | 794d579ae17a7ec8028e4844096059c19431a96c (diff) |
mtd: nand: davinci: fix to use mask_ale from pdata
Correct typo to use mask_ale from platform data when set to non-zero.
Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | drivers/mtd/nand/davinci_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index f13f5b9afaf7..68cc9247fdb0 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
@@ -599,7 +599,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev) | |||
599 | info->mask_chipsel = pdata->mask_chipsel; | 599 | info->mask_chipsel = pdata->mask_chipsel; |
600 | 600 | ||
601 | /* use nandboot-capable ALE/CLE masks by default */ | 601 | /* use nandboot-capable ALE/CLE masks by default */ |
602 | info->mask_ale = pdata->mask_cle ? : MASK_ALE; | 602 | info->mask_ale = pdata->mask_ale ? : MASK_ALE; |
603 | info->mask_cle = pdata->mask_cle ? : MASK_CLE; | 603 | info->mask_cle = pdata->mask_cle ? : MASK_CLE; |
604 | 604 | ||
605 | /* Set address of hardware control function */ | 605 | /* Set address of hardware control function */ |