diff options
author | Len Brown <len.brown@intel.com> | 2008-11-12 05:14:01 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-11-12 05:14:01 +0300 |
commit | e911d27af43e7d28d59a96a4682e8942f0661469 (patch) | |
tree | e99c64ff7fe6ca40c3a0d7996bc6e604254fe239 /drivers/acpi | |
parent | 50f19e37c38e82c4fd2aa50fedbfa3aac7903e5a (diff) | |
parent | d21cf3c16b1191f3154a51e0b20c82bf851cc553 (diff) | |
download | linux-e911d27af43e7d28d59a96a4682e8942f0661469.tar.xz |
Merge branch 'bugzilla-11917' into release
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 ef42316f89f5..523ac5b229a5 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -736,7 +736,7 @@ static acpi_status ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) { acpi_status status; - unsigned long long tmp; + unsigned long long tmp = 0; struct acpi_ec *ec = context; status = acpi_walk_resources(handle, METHOD_NAME__CRS, @@ -751,6 +751,7 @@ ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) return status; ec->gpe = tmp; /* Use the global lock for all EC transactions? */ + tmp = 0; acpi_evaluate_integer(handle, "_GLK", NULL, &tmp); ec->global_lock = tmp; ec->handle = handle; |