[MTD] NAND: Fix typo in mtd/nand/ts7250.c

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jun 27 18:59:01 EDT 2006


Commit:     0e4ced59de7c0c23588d2b3f6d302592545cd12e
Parent:     04510dee3c21ac208351cc6de7b70a5459ab3029
commit 0e4ced59de7c0c23588d2b3f6d302592545cd12e
Author:     Petr Stetiar <ynezz at true.cz>
AuthorDate: Fri Jun 23 19:17:03 2006 +0200
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Jun 27 23:20:48 2006 +0100

    [MTD] NAND: Fix typo in mtd/nand/ts7250.c
    
    I was unable to compile ts7250.c after your refactor commit,
    it's a typo probably.
    
    -- ynezz
    
    From: Petr Stetiar <ynezz at true.cz>
    Signed-off-by: Thomas Gleixner  <tglx at linutronix.de>
---
 drivers/mtd/nand/ts7250.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/ts7250.c b/drivers/mtd/nand/ts7250.c
index a0b4b1e..f400810 100644
--- a/drivers/mtd/nand/ts7250.c
+++ b/drivers/mtd/nand/ts7250.c
@@ -97,7 +97,7 @@ static void ts7250_hwcontrol(struct mtd_
 		unsigned long addr = TS72XX_NAND_CONTROL_VIRT_BASE;
 		unsigned char bits;
 
-		bits = (ctrl & NAND_CNE) << 2;
+		bits = (ctrl & NAND_NCE) << 2;
 		bits |= ctrl & NAND_CLE;
 		bits |= (ctrl & NAND_ALE) >> 2;
 



More information about the linux-mtd-cvs mailing list