sysfs: use sysfs_attr_init in ASUS atk0110 driver
[sfrench/cifs-2.6.git] / drivers / char / riscom8.h
index 9cc1313d5e67934deb7819d31d8a26bf3ff71bdb..c9876b3f97140adea677652dc6a8da51fb54dfd7 100644 (file)
@@ -66,26 +66,15 @@ struct riscom_board {
        
 struct riscom_port {
        int                     magic;
+       struct                  tty_port port;
        int                     baud_base;
-       int                     flags;
-       struct tty_struct       * tty;
-       int                     count;
-       int                     blocked_open;
-       unsigned long           event; /* long req'd for set_bit --RR */
        int                     timeout;
-       int                     close_delay;
-       unsigned char           * xmit_buf;
        int                     custom_divisor;
        int                     xmit_head;
        int                     xmit_tail;
        int                     xmit_cnt;
-       wait_queue_head_t       open_wait;
-       wait_queue_head_t       close_wait;
-       struct work_struct      tqueue;
-       struct work_struct      tqueue_hangup;
        short                   wakeup_chars;
        short                   break_length;
-       unsigned short          closing_wait;
        unsigned char           mark_mask;
        unsigned char           IER;
        unsigned char           MSVR;