linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / generic_serial.h
index 652611a..0abe9d9 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef GENERIC_SERIAL_H
 #define GENERIC_SERIAL_H
 
-#include <linux/mutex.h>
-
 struct real_driver {
   void                    (*disable_tx_interrupts) (void *);
   void                    (*enable_tx_interrupts) (void *);
@@ -36,7 +34,7 @@ struct gs_port {
   int                     xmit_head;
   int                     xmit_tail;
   int                     xmit_cnt;
-  struct mutex            port_write_mutex;
+  struct semaphore        port_write_sem;
   int                     flags;
   wait_queue_head_t       open_wait;
   wait_queue_head_t       close_wait;