diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 13:54:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 12:02:43 -0700 |
commit | c21e2654db10bc518b35987617337598fd91ff7e (patch) | |
tree | aad844d039af3fc5be95e195ef3e82e5a6e486eb /drivers/tty/serial/68328serial.h | |
parent | cea4b2ce4613feae878c0352b1d76f522faef511 (diff) |
TTY: 68328serial, remove unused stuff from m68k_serial
Not everything from struct m68k_serial is really used. So remove
unused or only-set members of that structure. Next step is to move it
to 68328serial.c and remove 68328serial.h completely.
This change also takes status_handle and batten_down_hatches away
since they use break_abort but do nothing.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/68328serial.h')
-rw-r--r-- | drivers/tty/serial/68328serial.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/tty/serial/68328serial.h b/drivers/tty/serial/68328serial.h index a804ea56a0b..971ead5a391 100644 --- a/drivers/tty/serial/68328serial.h +++ b/drivers/tty/serial/68328serial.h @@ -60,16 +60,7 @@ */ struct m68k_serial { - char soft_carrier; /* Use soft carrier on this channel */ - char break_abort; /* Is serial console in, so process brk/abrt */ char is_cons; /* Is this our console. */ - - /* We need to know the current clock divisor - * to read the bps rate the chip has currently - * loaded. - */ - unsigned char clk_divisor; /* May be 1, 16, 32, or 64 */ - int baud; int magic; int baud_base; int port; @@ -77,17 +68,10 @@ struct m68k_serial { int flags; /* defined in tty.h */ int type; /* UART type */ struct tty_struct *tty; - int read_status_mask; - int ignore_status_mask; - int timeout; - int xmit_fifo_size; int custom_divisor; int x_char; /* xon/xoff character */ int close_delay; unsigned short closing_wait; - unsigned short closing_wait2; - unsigned long event; - unsigned long last_active; int line; int count; /* # of fd on device */ int blocked_open; /* # of blocked opens */ |