[PATCH][NOR]Disable erase suspend on write fixup

Alexander Belyakov abelyako at mail.ru
Tue Dec 18 08:01:27 EST 2007


Hello,

the patch below fixes typo in fixup_intel_strataflash().

Signed-off-by: Alexander Belyakov <alexander.belyakov at intel.com>

diff -uNrp a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
--- a/drivers/mtd/chips/cfi_cmdset_0001.c	2007-12-03 17:00:16.000000000 +0300
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c	2007-12-18 16:01:42.000000000 +0300
@@ -205,7 +205,7 @@ static void fixup_intel_strataflash(stru
 {
 	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 mailing list