diff options
Diffstat (limited to 'drivers/acpi/ioapic.c')
-rw-r--r-- | drivers/acpi/ioapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ioapic.c b/drivers/acpi/ioapic.c index 2449377a6e7c..8ab6d426c178 100644 --- a/drivers/acpi/ioapic.c +++ b/drivers/acpi/ioapic.c @@ -46,7 +46,7 @@ static acpi_status setup_res(struct acpi_resource *acpi_res, void *data) struct resource_win win; res->flags = 0; - if (acpi_dev_filter_resource_type(acpi_res, IORESOURCE_MEM) == 0) + if (acpi_dev_filter_resource_type(acpi_res, IORESOURCE_MEM)) return AE_OK; if (!acpi_dev_resource_memory(acpi_res, res)) { |