diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/ec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 43749c86861f..3f7935ab0cf5 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -886,7 +886,8 @@ int __init acpi_ec_ecdt_probe(void) | |||
886 | printk(KERN_DEBUG PREFIX "Look up EC in DSDT\n"); | 886 | printk(KERN_DEBUG PREFIX "Look up EC in DSDT\n"); |
887 | status = acpi_get_devices(ec_device_ids[0].id, ec_parse_device, | 887 | status = acpi_get_devices(ec_device_ids[0].id, ec_parse_device, |
888 | boot_ec, NULL); | 888 | boot_ec, NULL); |
889 | if (ACPI_FAILURE(status)) | 889 | /* Check that acpi_get_devices actually find something */ |
890 | if (ACPI_FAILURE(status) || !boot_ec->handle) | ||
890 | goto error; | 891 | goto error; |
891 | } | 892 | } |
892 | 893 | ||