]> err.no Git - linux-2.6/commitdiff
[MTD] NAND: Fix typo in mtd/nand/ts7250.c
authorPetr Stetiar <ynezz@true.cz>
Fri, 23 Jun 2006 17:17:03 +0000 (19:17 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 27 Jun 2006 22:20:48 +0000 (23:20 +0100)
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>
drivers/mtd/nand/ts7250.c

index a0b4b1edcb0d10739ab6bca0f30cc85e9c62d635..f40081069ab2c6fa0f2a5705eaad7c9e698c28af 100644 (file)
@@ -97,7 +97,7 @@ static void ts7250_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl)
                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;