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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
mtd
/
doc2000.h
diff --git
a/include/linux/mtd/doc2000.h
b/include/linux/mtd/doc2000.h
index
386a52c
..
9addd07
100644
(file)
--- a/
include/linux/mtd/doc2000.h
+++ b/
include/linux/mtd/doc2000.h
@@
-15,7
+15,7
@@
#define __MTD_DOC2000_H__
#include <linux/mtd/mtd.h>
#define __MTD_DOC2000_H__
#include <linux/mtd/mtd.h>
-#include <
asm/semaphore
.h>
+#include <
linux/mutex
.h>
#define DoC_Sig1 0
#define DoC_Sig2 1
#define DoC_Sig1 0
#define DoC_Sig2 1
@@
-187,7
+187,7
@@
struct DiskOnChip {
int numchips;
struct Nand *chips;
struct mtd_info *nextdoc;
int numchips;
struct Nand *chips;
struct mtd_info *nextdoc;
- struct
semaphore
lock;
+ struct
mutex
lock;
};
int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
};
int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);