tty: serial: allow ports to override the irq handler
authorJamie Iles <jamie@jamieiles.com>
Mon, 15 Aug 2011 09:17:51 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:52:58 +0000 (10:52 -0700)
commita74036f51272975e9538e80cd1bb64dce164b208
treefd2cf8d07497836aee616467d3fa410d33b78db0
parent2a8d7bddf273477d6aa81405c9b4bae223e11ed9
tty: serial: allow ports to override the irq handler

Some serial ports may have unusal requirements for interrupt handling
(e.g. the Synopsys DesignWare 8250-alike port and it's busy detect
interrupt).  Add a .handle_irq callback that can be used for platforms
to override the interrupt behaviour in a similar fashion to the
.serial_out and .serial_in callbacks.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/serial_core.h