]> err.no Git - linux-2.6/blobdiff - drivers/mtd/nand/ts7250.c
Merge ../linux-2.6
[linux-2.6] / drivers / mtd / nand / ts7250.c
index a0b4b1edcb0d10739ab6bca0f30cc85e9c62d635..807a72752eeb035885b1f633d77d7f4e08e4ee6e 100644 (file)
@@ -9,8 +9,6 @@
  * Derived from drivers/mtd/nand/autcpu12.c
  *   Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de)
  *
- * $Id: ts7250.c,v 1.4 2004/12/30 22:02:07 joff Exp $
- *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
@@ -97,7 +95,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;