aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Stetiar <ynezz@true.cz>2006-06-23 13:17:03 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-06-27 18:20:48 -0400
commit0e4ced59de7c0c23588d2b3f6d302592545cd12e (patch)
tree7893eebaa3a3c532313b5dc3b3f6b1c9cc31811d
parent04510dee3c21ac208351cc6de7b70a5459ab3029 (diff)
[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@true.cz> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/mtd/nand/ts7250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/ts7250.c b/drivers/mtd/nand/ts7250.c
index a0b4b1edcb0d..f40081069ab2 100644
--- a/drivers/mtd/nand/ts7250.c
+++ b/drivers/mtd/nand/ts7250.c
@@ -97,7 +97,7 @@ static void ts7250_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl)
97 unsigned long addr = TS72XX_NAND_CONTROL_VIRT_BASE; 97 unsigned long addr = TS72XX_NAND_CONTROL_VIRT_BASE;
98 unsigned char bits; 98 unsigned char bits;
99 99
100 bits = (ctrl & NAND_CNE) << 2; 100 bits = (ctrl & NAND_NCE) << 2;
101 bits |= ctrl & NAND_CLE; 101 bits |= ctrl & NAND_CLE;
102 bits |= (ctrl & NAND_ALE) >> 2; 102 bits |= (ctrl & NAND_ALE) >> 2;
103 103