X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Facpi%2Fmotherboard.c;h=61ea70742d4912863df0fe4a25f01c1a98d54829;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ee9c5d13eb6bbe755f5870ec44cdfad0e7c413f3;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/acpi/motherboard.c b/drivers/acpi/motherboard.c index ee9c5d13e..61ea70742 100644 --- a/drivers/acpi/motherboard.c +++ b/drivers/acpi/motherboard.c @@ -62,7 +62,7 @@ acpi_reserve_io_ranges (struct acpi_resource *res, void *data) struct acpi_resource_io *io_res = &res->data.io; if (io_res->min_base_address != io_res->max_base_address) - return AE_OK; + return_VALUE(AE_OK); if (IS_RESERVED_ADDR(io_res->min_base_address, io_res->range_length)) { ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Motherboard resources 0x%08x - 0x%08x\n", io_res->min_base_address, @@ -86,7 +86,7 @@ acpi_reserve_io_ranges (struct acpi_resource *res, void *data) if (requested_res) requested_res->flags &= ~IORESOURCE_BUSY; - return AE_OK; + return_VALUE(AE_OK); } static int acpi_motherboard_add (struct acpi_device *device)