mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.117,1.118

gleixner at infradead.org gleixner at infradead.org
Mon Jul 4 18:34:33 EDT 2005


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

Modified Files:
	cfi_cmdset_0002.c 
Log Message:
[MTD] cfi_cmdset_0002: Remove bogus include

Including asm/hardware.h has to be done in linux/mtd/xip.h. Otherwise 
it breaks allyes compiles,



Index: cfi_cmdset_0002.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0002.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- cfi_cmdset_0002.c	6 Jun 2005 23:04:35 -0000	1.117
+++ cfi_cmdset_0002.c	4 Jul 2005 22:34:29 -0000	1.118
@@ -581,7 +581,7 @@
  * didn't emit calls to its own support functions). Also configuring MTD CFI
  * support to a single buswidth and a single interleave is also recommended.
  */
-#include <asm/hardware.h>
+
 static void xip_disable(struct map_info *map, struct flchip *chip,
 			unsigned long adr)
 {





More information about the linux-mtd-cvs mailing list