summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/motherboard.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-09-22 00:25:18 -0400
committerLen Brown <len.brown@intel.com>2005-09-22 00:28:05 -0400
commiteca008c8134df15262a0362623edb59902628c95 (patch)
treea3c08ab2d42b5e56c7f5cbe01e598d9895ca4fca /drivers/acpi/motherboard.c
parentbda663d36b94c723153246a4231bbc0f1cd1836e (diff)
downloadop-kernel-dev-eca008c8134df15262a0362623edb59902628c95.zip
op-kernel-dev-eca008c8134df15262a0362623edb59902628c95.tar.gz
[ACPI] handle ACPICA 20050916's acpi_resource.type rename
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/motherboard.c')
-rw-r--r--drivers/acpi/motherboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/motherboard.c b/drivers/acpi/motherboard.c
index e928e8c..85c1fb5 100644
--- a/drivers/acpi/motherboard.c
+++ b/drivers/acpi/motherboard.c
@@ -54,7 +54,7 @@ static acpi_status acpi_reserve_io_ranges(struct acpi_resource *res, void *data)
ACPI_FUNCTION_TRACE("acpi_reserve_io_ranges");
- if (res->id == ACPI_RSTYPE_IO) {
+ if (res->type == ACPI_RSTYPE_IO) {
struct acpi_resource_io *io_res = &res->data.io;
if (io_res->min_base_address != io_res->max_base_address)
@@ -70,7 +70,7 @@ static acpi_status acpi_reserve_io_ranges(struct acpi_resource *res, void *data)
request_region(io_res->min_base_address,
io_res->range_length, "motherboard");
}
- } else if (res->id == ACPI_RSTYPE_FIXED_IO) {
+ } else if (res->type == ACPI_RSTYPE_FIXED_IO) {
struct acpi_resource_fixed_io *fixed_io_res =
&res->data.fixed_io;
OpenPOWER on IntegriCloud