[PATCH 2/4] [IA64] simserial, include some headers
From: Jiri Slaby
Date: Thu Mar 08 2012 - 15:02:03 EST
And remove declarations which are already in the headers.
Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
---
arch/ia64/hp/sim/simserial.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index bff0824..974cac8 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -34,9 +34,12 @@
#include <linux/sysrq.h>
#include <asm/irq.h>
+#include <asm/hpsim.h>
#include <asm/hw_irq.h>
#include <asm/uaccess.h>
+#include "hpsim_ssc.h"
+
#undef SIMSERIAL_DEBUG /* define this to get some debug information */
#define KEYBOARD_INTR 3 /* must match with simulator! */
@@ -45,11 +48,6 @@
#define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED)
-#define SSC_GETCHAR 21
-
-extern long ia64_ssc (long, long, long, long, int);
-extern void ia64_ssc_connect_irq (long intr, long irq);
-
static char *serial_name = "SimSerial driver";
static char *serial_version = "0.6";
--
1.7.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/