Skip to content

Commit

Permalink
[MTD] [NOR] Remove cfi_cmdset_0001.c erase suspend fixup typo
Browse files Browse the repository at this point in the history
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@googlemail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Alexander Belyakov authored and David Woodhouse committed May 6, 2008
1 parent 2c4aabc commit 91949d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/chips/cfi_cmdset_0001.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 91949d6

Please sign in to comment.