aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/hpet.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-09-22 00:25:18 -0400
committerLen Brown <len.brown@intel.com>2005-09-22 00:28:05 -0400
commiteca008c8134df15262a0362623edb59902628c95 (patch)
treea3c08ab2d42b5e56c7f5cbe01e598d9895ca4fca /drivers/char/hpet.c
parentbda663d36b94c723153246a4231bbc0f1cd1836e (diff)
[ACPI] handle ACPICA 20050916's acpi_resource.type rename
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/char/hpet.c')
-rw-r--r--drivers/char/hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index de0379b6d50..a5c3f9c0c90 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -897,7 +897,7 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
for (hpetp = hpets; hpetp; hpetp = hpetp->hp_next)
if (hpetp->hp_hpet == hdp->hd_address)
return -EBUSY;
- } else if (res->id == ACPI_RSTYPE_EXT_IRQ) {
+ } else if (res->type == ACPI_RSTYPE_EXT_IRQ) {
struct acpi_resource_ext_irq *irqp;
int i;