mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.120,1.121

David Woodhouse dwmw2 at infradead.org
Mon May 26 05:25:15 EDT 2003


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

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
Include compatmac.h before cfi.h since the latter uses cond_resched().
Now the compatmac.h is less intrusive, p'raps we could make cfi.h
include it itself, but for compat crap I'm not too worried about headers
including stuff on which they depend. It's not an issue for non-ancient
kernels anyway.


Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- cfi_cmdset_0001.c	23 May 2003 12:23:26 -0000	1.120
+++ cfi_cmdset_0001.c	26 May 2003 09:25:12 -0000	1.121
@@ -31,8 +31,8 @@
 #include <linux/interrupt.h>
 #include <linux/mtd/map.h>
 #include <linux/mtd/mtd.h>
-#include <linux/mtd/cfi.h>
 #include <linux/mtd/compatmac.h>
+#include <linux/mtd/cfi.h>
 
 // debugging, turns off buffer write mode if set to 1
 #define FORCE_WORD_WRITE 0




More information about the linux-mtd-cvs mailing list