aboutsummaryrefslogtreecommitdiffstats
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)
[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 e928e8c2c6ec..85c1fb5c9a5a 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)
54 54
55 ACPI_FUNCTION_TRACE("acpi_reserve_io_ranges"); 55 ACPI_FUNCTION_TRACE("acpi_reserve_io_ranges");
56 56
57 if (res->id == ACPI_RSTYPE_IO) { 57 if (res->type == ACPI_RSTYPE_IO) {
58 struct acpi_resource_io *io_res = &res->data.io; 58 struct acpi_resource_io *io_res = &res->data.io;
59 59
60 if (io_res->min_base_address != io_res->max_base_address) 60 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)
70 request_region(io_res->min_base_address, 70 request_region(io_res->min_base_address,
71 io_res->range_length, "motherboard"); 71 io_res->range_length, "motherboard");
72 } 72 }
73 } else if (res->id == ACPI_RSTYPE_FIXED_IO) { 73 } else if (res->type == ACPI_RSTYPE_FIXED_IO) {
74 struct acpi_resource_fixed_io *fixed_io_res = 74 struct acpi_resource_fixed_io *fixed_io_res =
75 &res->data.fixed_io; 75 &res->data.fixed_io;
76 76