diff options
author | Len Brown <len.brown@intel.com> | 2005-09-22 00:25:18 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-22 00:28:05 -0400 |
commit | eca008c8134df15262a0362623edb59902628c95 (patch) | |
tree | a3c08ab2d42b5e56c7f5cbe01e598d9895ca4fca /drivers/acpi/pci_root.c | |
parent | bda663d36b94c723153246a4231bbc0f1cd1836e (diff) |
[ACPI] handle ACPICA 20050916's acpi_resource.type rename
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r-- | drivers/acpi/pci_root.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index 0fd9988c283d..5d6bc815fe72 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c | |||
@@ -122,9 +122,9 @@ get_root_bridge_busnr_callback(struct acpi_resource *resource, void *data) | |||
122 | int *busnr = (int *)data; | 122 | int *busnr = (int *)data; |
123 | struct acpi_resource_address64 address; | 123 | struct acpi_resource_address64 address; |
124 | 124 | ||
125 | if (resource->id != ACPI_RSTYPE_ADDRESS16 && | 125 | if (resource->type != ACPI_RSTYPE_ADDRESS16 && |
126 | resource->id != ACPI_RSTYPE_ADDRESS32 && | 126 | resource->type != ACPI_RSTYPE_ADDRESS32 && |
127 | resource->id != ACPI_RSTYPE_ADDRESS64) | 127 | resource->type != ACPI_RSTYPE_ADDRESS64) |
128 | return AE_OK; | 128 | return AE_OK; |
129 | 129 | ||
130 | acpi_resource_to_address64(resource, &address); | 130 | acpi_resource_to_address64(resource, &address); |