]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mtd/doc2000.h
MTD/JFFS2: remove CVS keywords
[linux-2.6-omap-h63xx.git] / include / linux / mtd / doc2000.h
index 386a52cf8b1b4e0faccb7ee1ba8eee8b08c5ab90..0a6d516ab71d9ba2eb97a7789593b040fb99dcb8 100644 (file)
@@ -6,8 +6,6 @@
  * Copyright (C) 2002-2003 Greg Ungerer <gerg@snapgear.com>
  * Copyright (C) 2002-2003 SnapGear Inc
  *
- * $Id: doc2000.h,v 1.25 2005/11/07 11:14:54 gleixner Exp $
- *
  * Released under GPL
  */
 
@@ -15,7 +13,7 @@
 #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
@@ -187,7 +185,7 @@ struct DiskOnChip {
        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]);