summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-02-24 12:10:16 +0100
committerTony Luck <tony.luck@intel.com>2012-02-24 14:25:19 -0800
commit7deacad8c3a687a5721b945e0d51b3da24a660ae (patch)
tree25fd96044b07e23668d9c08fd3ad5d3d1525f496
parent82af3a4e9e37eee7680cd4c6fa5d31e6cbcbb05b (diff)
[IA64] simserial, include some headers
And remove declarations which are already in the headers. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--arch/ia64/hp/sim/simserial.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index bff0824cf8a4..974cac88f7e7 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";