summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/base/power/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c
index d5be766493a4..782346573b25 100644
--- a/drivers/base/power/sysfs.c
+++ b/drivers/base/power/sysfs.c
@@ -66,7 +66,7 @@ wake_store(struct device * dev, struct device_attribute *attr,
char *name = NULL;
char *ep;
unsigned int gpio;
- int irq;
+ int irq = 0;
int is_gpio = 0;
struct irq_desc *desc;