]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/rocket_int.h
aty128fb: fix blanking
[linux-2.6-omap-h63xx.git] / drivers / char / rocket_int.h
index 3a8bcc85bc14c8bbedbf552a379d0c89cca35b1b..89b4d7b10d12584c630f17b95615b533a0182d04 100644 (file)
@@ -15,6 +15,8 @@
 #define ROCKET_TYPE_MODEMIII   3
 #define ROCKET_TYPE_PC104       4
 
+#include <linux/mutex.h>
+
 #include <asm/io.h>
 #include <asm/byteorder.h>
 
@@ -1171,7 +1173,7 @@ struct r_port {
        struct wait_queue *close_wait;
 #endif
        spinlock_t slock;
-       struct semaphore write_sem;
+       struct mutex write_mtx;
 };
 
 #define RPORT_MAGIC 0x525001