summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlejandro Gonzalez <alex.gonzalez@digi.com>2010-06-30 14:14:37 +0200
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-06-30 14:14:37 +0200
commit56ec0b7ccf3ab22c9db9523dcc88b9a5052089d3 (patch)
tree8cb0fc2a6a4ec9aa97cfba39db139e2135d1262f /drivers
parentb4a1ead97750cebad9c332309139025ad2bad0a0 (diff)
ccwmx51: Fix compiler warning.
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers')
-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;