X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmtd%2Fblktrans.h;fp=include%2Flinux%2Fmtd%2Fblktrans.h;h=f46afec6fbf8977d58097a2222cb681f0050d7ee;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=72fc68c5ee963afbfa331527501983c558ea9e8b;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/mtd/blktrans.h b/include/linux/mtd/blktrans.h index 72fc68c5e..f46afec6f 100644 --- a/include/linux/mtd/blktrans.h +++ b/include/linux/mtd/blktrans.h @@ -10,7 +10,7 @@ #ifndef __MTD_TRANS_H__ #define __MTD_TRANS_H__ -#include +#include struct hd_geometry; struct mtd_info; @@ -22,7 +22,7 @@ struct mtd_blktrans_dev { struct mtd_blktrans_ops *tr; struct list_head list; struct mtd_info *mtd; - struct mutex lock; + struct semaphore sem; int devnum; int blksize; unsigned long size;