mtd/drivers/mtd/nand diskonchip.c,1.52,1.53

dbrown at infradead.org dbrown at infradead.org
Thu Apr 7 09:39:17 EDT 2005


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

Modified Files:
	diskonchip.c 
Log Message:
Fix compile w/o CONFIG_MTD_PARTITIONS.


Index: diskonchip.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/diskonchip.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- diskonchip.c	6 Apr 2005 20:14:19 -0000	1.52
+++ diskonchip.c	7 Apr 2005 13:39:13 -0000	1.53
@@ -106,13 +106,11 @@
 static int no_ecc_failures=0;
 module_param(no_ecc_failures, int, 0);
 
-#ifdef CONFIG_MTD_PARTITIONS
 static int no_autopart=0;
 module_param(no_autopart, int, 0);
 
 static int show_firmware_partition=0;
 module_param(show_firmware_partition, int, 0);
-#endif
 
 #ifdef MTD_NAND_DISKONCHIP_BBTWRITE
 static int inftl_bbt_write=1;





More information about the linux-mtd-cvs mailing list