summaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvc_beat.c
diff options
context:
space:
mode:
authorAlan Cox2012-01-26 18:44:09 +0100
committerGreg Kroah-Hartman2012-01-27 02:14:50 +0100
commitd4e33fac2408d37f7b52e80ca2a89f9fb482914f (patch)
treedd25baa1bc251ad2aa61a07eda7f95a4d7094126 /drivers/tty/hvc/hvc_beat.c
parentserial/efm32: add new driver (diff)
downloadkernel-qcow2-linux-d4e33fac2408d37f7b52e80ca2a89f9fb482914f.tar.gz
kernel-qcow2-linux-d4e33fac2408d37f7b52e80ca2a89f9fb482914f.tar.xz
kernel-qcow2-linux-d4e33fac2408d37f7b52e80ca2a89f9fb482914f.zip
serial: Kill off NO_IRQ
We transform the offenders into a test of irq <= 0 which will be ok while the ARM people get their platform sorted. Once that is done (or in a while if they don't do it anyway) then we will change them all to !irq checks. For arch specific drivers that are already using NO_IRQ = 0 we just test against zero so we don't need to re-review them later. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/hvc/hvc_beat.c')
-rw-r--r--drivers/tty/hvc/hvc_beat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_beat.c b/drivers/tty/hvc/hvc_beat.c
index 5fe4631e2a61..1560d235449e 100644
--- a/drivers/tty/hvc/hvc_beat.c
+++ b/drivers/tty/hvc/hvc_beat.c
@@ -113,7 +113,7 @@ static int __init hvc_beat_init(void)
if (!firmware_has_feature(FW_FEATURE_BEAT))
return -ENODEV;
- hp = hvc_alloc(0, NO_IRQ, &hvc_beat_get_put_ops, 16);
+ hp = hvc_alloc(0, 0, &hvc_beat_get_put_ops, 16);
if (IS_ERR(hp))
return PTR_ERR(hp);
hvc_beat_dev = hp;