serial/sunzilog: fix keyboard on SUN SPARCstation
authorSam Ravnborg <sam@ravnborg.org>
Wed, 4 Apr 2012 07:35:06 +0000 (09:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 07:37:10 +0000 (00:37 -0700)
commitca6f327dfdc6b3b90aa0c5247182ae023dce6450
tree873fe868515b33454c9aa84d76503d563590aff4
parent2533e824153b51bda27fe41ed1a5512047f42707
serial/sunzilog: fix keyboard on SUN SPARCstation

The keyboard on my SUN SPARCstation 5 no longer worked.

    The culprint was: d4e33fac2408d37f7b52e80ca2a89f9fb482914f
    ("serial: Kill off NO_IRQ")

Fix up logic for no irq / irq so the keyboard works again.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/tty/serial/sunzilog.c