diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 08:52:18 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 15:27:57 -0500 |
commit | 2f8c521a1d41faf96f729c76991eb4ad70294513 (patch) | |
tree | 9e1e418e89e8ff3adb478f0e9786fc03fe1e96ee /arch/ia64/hp | |
parent | 964105b501071e8a0e9feb1d0e4b3e46508bc38e (diff) |
TTY: simserial, remove IRQ_T
We do not set ASYNC_SHARE_IRQ anywhere. And since IRQF_DISABLED is a
noop, pass zero to request_irq directly instead of this ugly macro.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64/hp')
-rw-r--r-- | arch/ia64/hp/sim/simserial.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index c35552df035e..8b5a1342e119 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c | |||
@@ -46,8 +46,6 @@ | |||
46 | 46 | ||
47 | #define NR_PORTS 1 /* only one port for now */ | 47 | #define NR_PORTS 1 /* only one port for now */ |
48 | 48 | ||
49 | #define IRQ_T(state) ((state->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED) | ||
50 | |||
51 | static char *serial_name = "SimSerial driver"; | 49 | static char *serial_name = "SimSerial driver"; |
52 | static char *serial_version = "0.6"; | 50 | static char *serial_version = "0.6"; |
53 | 51 | ||
@@ -644,8 +642,8 @@ startup(struct async_struct *info) | |||
644 | * Allocate the IRQ if necessary | 642 | * Allocate the IRQ if necessary |
645 | */ | 643 | */ |
646 | if (state->irq) { | 644 | if (state->irq) { |
647 | retval = request_irq(state->irq, rs_interrupt_single, | 645 | retval = request_irq(state->irq, rs_interrupt_single, 0, |
648 | IRQ_T(state), "simserial", info); | 646 | "simserial", info); |
649 | if (retval) | 647 | if (retval) |
650 | goto errout; | 648 | goto errout; |
651 | } | 649 | } |