diff options
Diffstat (limited to 'drivers/acpi/motherboard.c')
-rw-r--r-- | drivers/acpi/motherboard.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/motherboard.c b/drivers/acpi/motherboard.c index d51d68f5dd8d..ec6b7f9ede34 100644 --- a/drivers/acpi/motherboard.c +++ b/drivers/acpi/motherboard.c | |||
@@ -52,13 +52,12 @@ static acpi_status acpi_reserve_io_ranges(struct acpi_resource *res, void *data) | |||
52 | { | 52 | { |
53 | struct resource *requested_res = NULL; | 53 | struct resource *requested_res = NULL; |
54 | 54 | ||
55 | ACPI_FUNCTION_TRACE("acpi_reserve_io_ranges"); | ||
56 | 55 | ||
57 | if (res->type == ACPI_RESOURCE_TYPE_IO) { | 56 | if (res->type == ACPI_RESOURCE_TYPE_IO) { |
58 | struct acpi_resource_io *io_res = &res->data.io; | 57 | struct acpi_resource_io *io_res = &res->data.io; |
59 | 58 | ||
60 | if (io_res->minimum != io_res->maximum) | 59 | if (io_res->minimum != io_res->maximum) |
61 | return_VALUE(AE_OK); | 60 | return AE_OK; |
62 | if (IS_RESERVED_ADDR | 61 | if (IS_RESERVED_ADDR |
63 | (io_res->minimum, io_res->address_length)) { | 62 | (io_res->minimum, io_res->address_length)) { |
64 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 63 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
@@ -92,7 +91,7 @@ static acpi_status acpi_reserve_io_ranges(struct acpi_resource *res, void *data) | |||
92 | 91 | ||
93 | if (requested_res) | 92 | if (requested_res) |
94 | requested_res->flags &= ~IORESOURCE_BUSY; | 93 | requested_res->flags &= ~IORESOURCE_BUSY; |
95 | return_VALUE(AE_OK); | 94 | return AE_OK; |
96 | } | 95 | } |
97 | 96 | ||
98 | static int acpi_motherboard_add(struct acpi_device *device) | 97 | static int acpi_motherboard_add(struct acpi_device *device) |