diff options
author | Kenji Kaneshige | 2005-07-28 20:42:00 +0200 |
---|---|---|
committer | Len Brown | 2005-08-05 04:20:13 +0200 |
commit | 71df30f8e3e97fde573c41df063c2d66c1ad01b0 (patch) | |
tree | 50992fd9c76e85dce85bf57afe9034e37bfcc31b /drivers/pnp/pnpacpi | |
parent | [ACPI] HPET driver now checks for acpi_register_gsi() errors (diff) | |
download | kernel-qcow2-linux-71df30f8e3e97fde573c41df063c2d66c1ad01b0.tar.gz kernel-qcow2-linux-71df30f8e3e97fde573c41df063c2d66c1ad01b0.tar.xz kernel-qcow2-linux-71df30f8e3e97fde573c41df063c2d66c1ad01b0.zip |
[ACPI] PNPACPI driver now checks for acpi_register_gsi() errors
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/pnpacpi')
-rw-r--r-- | drivers/pnp/pnpacpi/rsparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c index 75575f6c349c..1e296cbef004 100644 --- a/drivers/pnp/pnpacpi/rsparser.c +++ b/drivers/pnp/pnpacpi/rsparser.c @@ -81,7 +81,7 @@ pnpacpi_parse_allocated_irqresource(struct pnp_resource_table * res, int irq) i++; if (i < PNP_MAX_IRQ) { res->irq_resource[i].flags = IORESOURCE_IRQ; //Also clears _UNSET flag - if (irq == -1) { + if (irq < 0) { res->irq_resource[i].flags |= IORESOURCE_DISABLED; return; } |