aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 08:52:31 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 15:48:27 -0500
commit3c4782dcd9b8d02e79f0f0bd1fe6e30a79790526 (patch)
tree37ddd0011b1a8ffa8e656fe23f6745c80f23b73b /arch/ia64
parent98e3a9e6dd99f1b8ac2a03b8b4942eec16ef911b (diff)
TTY: simserial no longer needs serialP
Let's do a spin-off of serial_state structure with only needed elements. And remove serialP crap from includes. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/hp/sim/simserial.c9
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
49struct serial_state {
50 struct tty_port tport;
51 struct circ_buf xmit;
52 int irq;
53 int x_char;
54};
55
49static char *serial_name = "SimSerial driver"; 56static char *serial_name = "SimSerial driver";
50static char *serial_version = "0.6"; 57static char *serial_version = "0.6";
51 58