Skip to content

Commit

Permalink
[MTD] NAND: Fix typo in mtd/nand/ts7250.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Stetiar authored and David Woodhouse committed Jun 27, 2006
1 parent 04510de commit 0e4ced5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/ts7250.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0e4ced5

Please sign in to comment.