aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-08 15:01:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 15:26:30 -0500
commit035cfe5ac55d399169b7f61f7a111d3d7075190c (patch)
treec3eb57c5ede31da001019c78e7f5c4a051864dc0 /arch/ia64
parent0745d19abc492437e601c83281287d10202ee411 (diff)
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64')
-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 0d324e85379e..35ae642b2a1a 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -34,9 +34,12 @@
34#include <linux/sysrq.h> 34#include <linux/sysrq.h>
35 35
36#include <asm/irq.h> 36#include <asm/irq.h>
37#include <asm/hpsim.h>
37#include <asm/hw_irq.h> 38#include <asm/hw_irq.h>
38#include <asm/uaccess.h> 39#include <asm/uaccess.h>
39 40
41#include "hpsim_ssc.h"
42
40#undef SIMSERIAL_DEBUG /* define this to get some debug information */ 43#undef SIMSERIAL_DEBUG /* define this to get some debug information */
41 44
42#define KEYBOARD_INTR 3 /* must match with simulator! */ 45#define KEYBOARD_INTR 3 /* must match with simulator! */
@@ -45,11 +48,6 @@
45 48
46#define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED) 49#define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED)
47 50
48#define SSC_GETCHAR 21
49
50extern long ia64_ssc (long, long, long, long, int);
51extern void ia64_ssc_connect_irq (long intr, long irq);
52
53static char *serial_name = "SimSerial driver"; 51static char *serial_name = "SimSerial driver";
54static char *serial_version = "0.6"; 52static char *serial_version = "0.6";
55 53