diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 08:52:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 15:50:01 -0500 |
commit | 6fe18d26b1c33d5cb748f8694ee1a59dc5578da4 (patch) | |
tree | 6b48713ac874c6a3bf394ceb212be58e175c79ee /include/linux/serialP.h | |
parent | ff169e5cbec29d33765687c7131673316011b328 (diff) |
TTY: amiserial no longer needs serialP
amiserial is the last user of serialP.h. Let's move struct
serial_state directly to amiserial and remove serialP crap from
includes. Finally, remove the header from the tree completely.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serialP.h')
-rw-r--r-- | include/linux/serialP.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/include/linux/serialP.h b/include/linux/serialP.h deleted file mode 100644 index 77afbdb134ae..000000000000 --- a/include/linux/serialP.h +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /* | ||
2 | * Private header file for the (dumb) serial driver | ||
3 | * | ||
4 | * Copyright (C) 1997 by Theodore Ts'o. | ||
5 | * | ||
6 | * Redistribution of this file is permitted under the terms of the GNU | ||
7 | * Public License (GPL) | ||
8 | */ | ||
9 | |||
10 | #ifndef _LINUX_SERIALP_H | ||
11 | #define _LINUX_SERIALP_H | ||
12 | |||
13 | /* | ||
14 | * This is our internal structure for each serial port's state. | ||
15 | * | ||
16 | * Many fields are paralleled by the structure used by the serial_struct | ||
17 | * structure. | ||
18 | * | ||
19 | * For definitions of the flags field, see tty.h | ||
20 | */ | ||
21 | |||
22 | #include <linux/termios.h> | ||
23 | #include <linux/workqueue.h> | ||
24 | #include <linux/interrupt.h> | ||
25 | #include <linux/circ_buf.h> | ||
26 | #include <linux/tty.h> | ||
27 | #include <linux/wait.h> | ||
28 | |||
29 | struct serial_state { | ||
30 | int baud_base; | ||
31 | unsigned long port; | ||
32 | int xmit_fifo_size; | ||
33 | int custom_divisor; | ||
34 | struct async_icount icount; | ||
35 | struct tty_port tport; | ||
36 | |||
37 | /* amiserial */ | ||
38 | int read_status_mask; | ||
39 | int ignore_status_mask; | ||
40 | int timeout; | ||
41 | int quot; | ||
42 | int IER; /* Interrupt Enable Register */ | ||
43 | int MCR; /* Modem control register */ | ||
44 | int x_char; /* xon/xoff character */ | ||
45 | struct circ_buf xmit; | ||
46 | /* /amiserial */ | ||
47 | }; | ||
48 | |||
49 | #endif /* _LINUX_SERIAL_H */ | ||