mtd/drivers/mtd/chips jedec_probe.c,1.60,1.61

Thayne Harbaugh tharbaugh at lnxi.com
Fri Nov 19 15:52:20 EST 2004


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

Modified Files:
	jedec_probe.c 
Log Message:
Make sure that every enum uaddr has an entry in unlock_addrs[]

Index: jedec_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/jedec_probe.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- jedec_probe.c	18 Nov 2004 14:13:09 -0000	1.60
+++ jedec_probe.c	19 Nov 2004 20:52:16 -0000	1.61
@@ -227,6 +227,11 @@
 	[MTD_UADDR_DONT_CARE] = {
 		.addr1 = 0x0000,      /* Doesn't matter which address */
 		.addr2 = 0x0000       /* is used - must be last entry */
+	},
+
+	[MTD_UADDR_UNNECESSARY] = {
+		.addr1 = 0x0000,
+		.addr2 = 0x0000
 	}
 };
 





More information about the linux-mtd-cvs mailing list