Signed-off-by: Chen Hanxiao <[email protected]>
---
 drivers/platform/x86/eeepc-laptop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/eeepc-laptop.c 
b/drivers/platform/x86/eeepc-laptop.c
index bd533c2..738fc0c 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -276,7 +276,7 @@ static ssize_t store_sys_acpi(struct device *dev, int cm,
                              const char *buf, size_t count)
 {
        struct eeepc_laptop *eeepc = dev_get_drvdata(dev);
-       int rv, value;
+       int rv, value = -1;
 
        rv = parse_arg(buf, count, &value);
        if (rv > 0)
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" 
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to