mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.84,1.85

Thayne Harbaugh tharbaugh at lnxi.com
Fri Oct 17 15:30:26 EDT 2003


Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv4432/drivers/mtd/chips

Modified Files:
	cfi_cmdset_0002.c 
Log Message:
oops fix from Stephane

Index: cfi_cmdset_0002.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0002.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- cfi_cmdset_0002.c	4 Oct 2003 17:13:19 -0000	1.84
+++ cfi_cmdset_0002.c	17 Oct 2003 19:30:23 -0000	1.85
@@ -208,6 +208,9 @@
 		if (!extp)
 			return NULL;
 
+		/* Install our own private info structure */
+		cfi->cmdset_priv = extp;	
+
 		cfi_fixup(map, fixup_table);
 
 #ifdef DEBUG_CFI_FEATURES
@@ -264,9 +267,6 @@
 				return NULL;
 			}
 		}
-
-		/* Install our own private info structure */
-		cfi->cmdset_priv = extp;	
 
 	} /* CFI mode */
 




More information about the linux-mtd-cvs mailing list