mtd: mxc_nand: Remove duplicate NAND_CMD_RESET case value
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu May 20 05:59:01 EDT 2010
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=73850975e9a070abeed5912a24975d531fd5074c
Commit: 73850975e9a070abeed5912a24975d531fd5074c
Parent: 05d71b4625bdadd7c7ae80455e7038e221c76e4d
Author: David Woodhouse <David.Woodhouse at intel.com>
AuthorDate: Thu May 20 10:04:23 2010 +0100
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu May 20 10:10:33 2010 +0100
mtd: mxc_nand: Remove duplicate NAND_CMD_RESET case value
This reverts commit 66803762 ("mtd: mxc_nand: add RESET command support").
Support for NAND_CMD_RESET was added separately in commit d4840180
("mtd: mxc_nand: set NFC registers after reset"), causing a build error:
drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command':
drivers/mtd/nand/mxc_nand.c:689: error: duplicate case value
drivers/mtd/nand/mxc_nand.c:606: error: previously used here
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/mxc_nand.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 35da3dc..82e9438 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -686,7 +686,6 @@ static void mxc_nand_command(struct mtd_info *mtd, unsigned command,
case NAND_CMD_ERASE1:
case NAND_CMD_ERASE2:
- case NAND_CMD_RESET:
send_cmd(host, command, false);
mxc_do_addr_cycle(mtd, column, page_addr);
More information about the linux-mtd-cvs
mailing list