diff options
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index baef28c1e630..75b147f5c8fd 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -820,7 +820,7 @@ static int acpi_ec_add(struct acpi_device *device) | |||
820 | 820 | ||
821 | /* Find and register all query methods */ | 821 | /* Find and register all query methods */ |
822 | acpi_walk_namespace(ACPI_TYPE_METHOD, ec->handle, 1, | 822 | acpi_walk_namespace(ACPI_TYPE_METHOD, ec->handle, 1, |
823 | acpi_ec_register_query_methods, ec, NULL); | 823 | acpi_ec_register_query_methods, NULL, ec, NULL); |
824 | 824 | ||
825 | if (!first_ec) | 825 | if (!first_ec) |
826 | first_ec = ec; | 826 | first_ec = ec; |