summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-11-11 21:14:01 -0500
committerLen Brown <len.brown@intel.com>2008-11-11 21:14:01 -0500
commite911d27af43e7d28d59a96a4682e8942f0661469 (patch)
treee99c64ff7fe6ca40c3a0d7996bc6e604254fe239 /drivers/acpi
parent50f19e37c38e82c4fd2aa50fedbfa3aac7903e5a (diff)
parentd21cf3c16b1191f3154a51e0b20c82bf851cc553 (diff)
Merge branch 'bugzilla-11917' into release
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/ec.c3
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;