[MTD] [NOR] Remove cfi_cmdset_0001.c erase suspend fixup typo

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed May 14 06:59:01 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=91949d64548ead31df51c9fb6f7201ca8ffc9b51
Commit:     91949d64548ead31df51c9fb6f7201ca8ffc9b51
Parent:     2c4aabcca847ac4c92aa5e960c3f6053e1051b62
Author:     Alexander Belyakov <abelyako at mail.ru>
AuthorDate: Sun May 4 14:32:58 2008 +0400
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue May 6 15:49:21 2008 +0100

    [MTD] [NOR] Remove cfi_cmdset_0001.c erase suspend fixup typo
    
    Fix typo in erase suspend while write fixup code leading to compile time
    error if CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE was defined.
    
    drivers/mtd/chips/cfi_cmdset_0001.c: In function 'fixup_intel_strataflash':
    drivers/mtd/chips/cfi_cmdset_0001.c:212: error: 'struct cfi_pri_amdstd' has no member named 'SuspendCmdSupport'
    
    Signed-off-by: Alexander Belyakov <abelyako at googlemail.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/chips/cfi_cmdset_0001.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
index fcd1aec..235830b 100644
--- a/drivers/mtd/chips/cfi_cmdset_0001.c
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c
@@ -204,7 +204,7 @@ static void fixup_intel_strataflash(struct mtd_info *mtd, void* param)
 {
 	struct map_info *map = mtd->priv;
 	struct cfi_private *cfi = map->fldrv_priv;
-	struct cfi_pri_amdstd *extp = cfi->cmdset_priv;
+	struct cfi_pri_intelext *extp = cfi->cmdset_priv;
 
 	printk(KERN_WARNING "cfi_cmdset_0001: Suspend "
 	                    "erase on write disabled.\n");



More information about the linux-mtd-cvs mailing list