diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index de0379b6d502..a5c3f9c0c909 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) | |||
897 | for (hpetp = hpets; hpetp; hpetp = hpetp->hp_next) | 897 | for (hpetp = hpets; hpetp; hpetp = hpetp->hp_next) |
898 | if (hpetp->hp_hpet == hdp->hd_address) | 898 | if (hpetp->hp_hpet == hdp->hd_address) |
899 | return -EBUSY; | 899 | return -EBUSY; |
900 | } else if (res->id == ACPI_RSTYPE_EXT_IRQ) { | 900 | } else if (res->type == ACPI_RSTYPE_EXT_IRQ) { |
901 | struct acpi_resource_ext_irq *irqp; | 901 | struct acpi_resource_ext_irq *irqp; |
902 | int i; | 902 | int i; |
903 | 903 | ||