]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/touchscreen/ads7846.c
Input: ads7846 - strict_strtoul takes unsigned long
[linux-2.6-omap-h63xx.git] / drivers / input / touchscreen / ads7846.c
index 6017ea6e994e42d3b094e45e5e219dfee7bfb3c4..d0004dc44c86c4f62d65dfdae354177372e95529 100644 (file)
@@ -472,7 +472,7 @@ static ssize_t ads7846_disable_store(struct device *dev,
                                     const char *buf, size_t count)
 {
        struct ads7846 *ts = dev_get_drvdata(dev);
-       long i;
+       unsigned long i;
 
        if (strict_strtoul(buf, 10, &i))
                return -EINVAL;