git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
mtd
/
mtdpart.c
diff --git
a/drivers/mtd/mtdpart.c
b/drivers/mtd/mtdpart.c
index
c3369e0
..
96ebb52
100644
(file)
--- a/
drivers/mtd/mtdpart.c
+++ b/
drivers/mtd/mtdpart.c
@@
-5,7
+5,7
@@
*
* This code is GPL
*
*
* This code is GPL
*
- * $Id: mtdpart.c,v 1.5
0 2004/08/10 16:18:34
dwmw2 Exp $
+ * $Id: mtdpart.c,v 1.5
1 2004/11/16 18:28:59
dwmw2 Exp $
*
* 02-21-2002 Thomas Gleixner <gleixner@autronix.de>
* added support for read_oob, write_oob
*
* 02-21-2002 Thomas Gleixner <gleixner@autronix.de>
* added support for read_oob, write_oob
@@
-523,10
+523,10
@@
int add_mtd_partitions(struct mtd_info *master,
EXPORT_SYMBOL(add_mtd_partitions);
EXPORT_SYMBOL(del_mtd_partitions);
EXPORT_SYMBOL(add_mtd_partitions);
EXPORT_SYMBOL(del_mtd_partitions);
-static
spinlock_t part_parser_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(part_parser_lock)
;
static LIST_HEAD(part_parsers);
static LIST_HEAD(part_parsers);
-struct mtd_part_parser *get_partition_parser(const char *name)
+st
atic st
ruct mtd_part_parser *get_partition_parser(const char *name)
{
struct list_head *this;
void *ret = NULL;
{
struct list_head *this;
void *ret = NULL;