mtd: correct typo "MTD_DATAFLASH_VERIFY_WRITE"
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Sep 4 04:59:03 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=05dd180709fca14fbae617c0dab1bed56be334fc
Commit: 05dd180709fca14fbae617c0dab1bed56be334fc
Parent: 0ffd24fc7f82a0b594250e5f221340be4c322cda
Author: Robert P. J. Day <rpjday at crashcourse.ca>
AuthorDate: Sun Jul 19 21:19:08 2009 -0400
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Sep 4 09:38:55 2009 +0100
mtd: correct typo "MTD_DATAFLASH_VERIFY_WRITE"
Fix the misspelling to match the actual config variable defined in
drivers/mtd/devi ces/Kconfig:
config MTD_DATAFLASH_WRITE_VERIFY
bool "Verify DataFlash page writes"
depends on MTD_DATAFLASH
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/devices/mtd_dataflash.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c
index 43976aa..70a7369 100644
--- a/drivers/mtd/devices/mtd_dataflash.c
+++ b/drivers/mtd/devices/mtd_dataflash.c
@@ -401,7 +401,7 @@ static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len,
(void) dataflash_waitready(priv->spi);
-#ifdef CONFIG_MTD_DATAFLASH_VERIFY_WRITE
+#ifdef CONFIG_MTD_DATAFLASH_WRITE_VERIFY
/* (3) Compare to Buffer1 */
addr = pageaddr << priv->page_offset;
@@ -430,7 +430,7 @@ static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len,
} else
status = 0;
-#endif /* CONFIG_MTD_DATAFLASH_VERIFY_WRITE */
+#endif /* CONFIG_MTD_DATAFLASH_WRITE_VERIFY */
remaining = remaining - writelen;
pageaddr++;
More information about the linux-mtd-cvs
mailing list