diff options
author | Len Brown <len.brown@intel.com> | 2005-09-22 04:25:18 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-22 04:28:05 (GMT) |
commit | eca008c8134df15262a0362623edb59902628c95 (patch) | |
tree | a3c08ab2d42b5e56c7f5cbe01e598d9895ca4fca /drivers/acpi/glue.c | |
parent | bda663d36b94c723153246a4231bbc0f1cd1836e (diff) | |
download | linux-fsl-qoriq-eca008c8134df15262a0362623edb59902628c95.tar.xz |
[ACPI] handle ACPICA 20050916's acpi_resource.type rename
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/glue.c')
-rw-r--r-- | drivers/acpi/glue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c index e36c5da..00aeb48 100644 --- a/drivers/acpi/glue.c +++ b/drivers/acpi/glue.c @@ -99,9 +99,9 @@ do_root_bridge_busnr_callback(struct acpi_resource *resource, void *data) int *busnr = (int *)data; struct acpi_resource_address64 address; - if (resource->id != ACPI_RSTYPE_ADDRESS16 && - resource->id != ACPI_RSTYPE_ADDRESS32 && - resource->id != ACPI_RSTYPE_ADDRESS64) + if (resource->type != ACPI_RSTYPE_ADDRESS16 && + resource->type != ACPI_RSTYPE_ADDRESS32 && + resource->type != ACPI_RSTYPE_ADDRESS64) return AE_OK; acpi_resource_to_address64(resource, &address); |