lkml.org 
[lkml]   [2012]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 53/68] TTY: simserial, fix includes
Date
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>
---
arch/ia64/hp/sim/simserial.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index d8237c3..24d6ca0 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -24,14 +24,13 @@
#include <linux/capability.h>
#include <linux/circ_buf.h>
#include <linux/console.h>
+#include <linux/irq.h>
#include <linux/module.h>
#include <linux/serial.h>
#include <linux/sysrq.h>
+#include <linux/uaccess.h>

-#include <asm/irq.h>
#include <asm/hpsim.h>
-#include <asm/hw_irq.h>
-#include <asm/uaccess.h>

#include "hpsim_ssc.h"

@@ -57,8 +56,6 @@ struct tty_driver *hp_simserial_driver;

static struct console *console;

-extern struct console *console_drivers; /* from kernel/printk.c */
-
static void receive_chars(struct tty_struct *tty)
{
unsigned char ch;
--
1.7.9.2



\
 
 \ /
  Last update: 2012-03-05 15:01    [W:0.348 / U:1.604 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site