aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/pci/acpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index c7b1ebfb7da7..334153ca4c30 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -71,8 +71,7 @@ resource_to_addr(struct acpi_resource *resource,
71 if (ACPI_SUCCESS(status) && 71 if (ACPI_SUCCESS(status) &&
72 (addr->resource_type == ACPI_MEMORY_RANGE || 72 (addr->resource_type == ACPI_MEMORY_RANGE ||
73 addr->resource_type == ACPI_IO_RANGE) && 73 addr->resource_type == ACPI_IO_RANGE) &&
74 addr->address_length > 0 && 74 addr->address_length > 0) {
75 addr->producer_consumer == ACPI_PRODUCER) {
76 return AE_OK; 75 return AE_OK;
77 } 76 }
78 return AE_ERROR; 77 return AE_ERROR;