diff options
-rw-r--r-- | drivers/input/misc/cm3217.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/misc/cm3217.c b/drivers/input/misc/cm3217.c index 7bea58e6ab41..416d0b3806a9 100644 --- a/drivers/input/misc/cm3217.c +++ b/drivers/input/misc/cm3217.c @@ -448,7 +448,8 @@ static int lightsensor_release(struct inode *inode, struct file *file) static long lightsensor_ioctl(struct file *file, unsigned int cmd, unsigned long arg) { - int rc, val; + int rc = 0; + int val; struct cm3217_info *lpi = lp_info; unsigned long delay; |