Commit 8b916330 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman

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: default avatarJiri Slaby <jslaby@suse.cz>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent adb636fe
...@@ -24,14 +24,13 @@ ...@@ -24,14 +24,13 @@
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/circ_buf.h> #include <linux/circ_buf.h>
#include <linux/console.h> #include <linux/console.h>
#include <linux/irq.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/serial.h> #include <linux/serial.h>
#include <linux/sysrq.h> #include <linux/sysrq.h>
#include <linux/uaccess.h>
#include <asm/irq.h>
#include <asm/hpsim.h> #include <asm/hpsim.h>
#include <asm/hw_irq.h>
#include <asm/uaccess.h>
#include "hpsim_ssc.h" #include "hpsim_ssc.h"
...@@ -57,8 +56,6 @@ struct tty_driver *hp_simserial_driver; ...@@ -57,8 +56,6 @@ struct tty_driver *hp_simserial_driver;
static struct console *console; static struct console *console;
extern struct console *console_drivers; /* from kernel/printk.c */
static void receive_chars(struct tty_struct *tty) static void receive_chars(struct tty_struct *tty)
{ {
unsigned char ch; unsigned char ch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment