]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mtd/blktrans.h
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-omap-h63xx.git] / include / linux / mtd / blktrans.h
index f46afec6fbf8977d58097a2222cb681f0050d7ee..72fc68c5ee963afbfa331527501983c558ea9e8b 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __MTD_TRANS_H__
 #define __MTD_TRANS_H__
 
-#include <asm/semaphore.h>
+#include <linux/mutex.h>
 
 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 semaphore sem;
+       struct mutex lock;
        int devnum;
        int blksize;
        unsigned long size;