mtd/drivers/mtd/chips chipreg.c,1.17,1.18

gleixner at infradead.org gleixner at infradead.org
Wed Jan 12 17:34:37 EST 2005


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

Modified Files:
	chipreg.c 
Log Message:
Lock initializer update

Index: chipreg.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/chipreg.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- chipreg.c	16 Nov 2004 18:29:00 -0000	1.17
+++ chipreg.c	12 Jan 2005 22:34:34 -0000	1.18
@@ -15,7 +15,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/compatmac.h>
 
-static spinlock_t chip_drvs_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(chip_drvs_lock);
 static LIST_HEAD(chip_drvs_list);
 
 void register_mtd_chip_driver(struct mtd_chip_driver *drv)





More information about the linux-mtd-cvs mailing list