]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Merge branch 'bugzilla-11917' into release
authorLen Brown <len.brown@intel.com>
Wed, 12 Nov 2008 02:14:01 +0000 (21:14 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 12 Nov 2008 02:14:01 +0000 (21:14 -0500)
drivers/acpi/ec.c

index ef42316f89f52452f69192d89894ca9ba64f46ee..523ac5b229a580e5c1e76049fd32d142d81f6bc4 100644 (file)
@@ -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;