aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 08:52:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 15:48:28 -0500
commit8b916330567b0b788f35ded5d99a7ef7dc30b293 (patch)
treecb605389d6dec3058d1b920320b83a76aa813f96 /arch/ia64
parentadb636fe0845bf1b4dbcb546a1673f40a95062fd (diff)
TTY: simserial, fix includes
Use headers from linux/* instead of asm/. Remove declaration of console_drivers, it's in linux/console.h already. 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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index d8237c341995..24d6ca04de86 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -24,14 +24,13 @@
24#include <linux/capability.h> 24#include <linux/capability.h>
25#include <linux/circ_buf.h> 25#include <linux/circ_buf.h>
26#include <linux/console.h> 26#include <linux/console.h>
27#include <linux/irq.h>
27#include <linux/module.h> 28#include <linux/module.h>
28#include <linux/serial.h> 29#include <linux/serial.h>
29#include <linux/sysrq.h> 30#include <linux/sysrq.h>
31#include <linux/uaccess.h>
30 32
31#include <asm/irq.h>
32#include <asm/hpsim.h> 33#include <asm/hpsim.h>
33#include <asm/hw_irq.h>
34#include <asm/uaccess.h>
35 34
36#include "hpsim_ssc.h" 35#include "hpsim_ssc.h"
37 36
@@ -57,8 +56,6 @@ struct tty_driver *hp_simserial_driver;
57 56
58static struct console *console; 57static struct console *console;
59 58
60extern struct console *console_drivers; /* from kernel/printk.c */
61
62static void receive_chars(struct tty_struct *tty) 59static void receive_chars(struct tty_struct *tty)
63{ 60{
64 unsigned char ch; 61 unsigned char ch;