diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/hp/sim/simserial.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 3698a2fe221d..120aad4d5362 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c | |||
@@ -27,10 +27,10 @@ | |||
27 | #include <linux/seq_file.h> | 27 | #include <linux/seq_file.h> |
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/capability.h> | 29 | #include <linux/capability.h> |
30 | #include <linux/circ_buf.h> | ||
30 | #include <linux/console.h> | 31 | #include <linux/console.h> |
31 | #include <linux/module.h> | 32 | #include <linux/module.h> |
32 | #include <linux/serial.h> | 33 | #include <linux/serial.h> |
33 | #include <linux/serialP.h> | ||
34 | #include <linux/sysrq.h> | 34 | #include <linux/sysrq.h> |
35 | 35 | ||
36 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
@@ -46,6 +46,13 @@ | |||
46 | 46 | ||
47 | #define NR_PORTS 1 /* only one port for now */ | 47 | #define NR_PORTS 1 /* only one port for now */ |
48 | 48 | ||
49 | struct serial_state { | ||
50 | struct tty_port tport; | ||
51 | struct circ_buf xmit; | ||
52 | int irq; | ||
53 | int x_char; | ||
54 | }; | ||
55 | |||
49 | static char *serial_name = "SimSerial driver"; | 56 | static char *serial_name = "SimSerial driver"; |
50 | static char *serial_version = "0.6"; | 57 | static char *serial_version = "0.6"; |
51 | 58 | ||