ASoC: wm8955: Fix wrong value references for boolean kctl
[pandora-kernel.git] / drivers / mfd / aat2870-core.c
index 345dc65..02c4201 100644 (file)
@@ -295,7 +295,7 @@ static ssize_t aat2870_reg_write_file(struct file *file,
 {
        struct aat2870_data *aat2870 = file->private_data;
        char buf[32];
-       int buf_size;
+       ssize_t buf_size;
        char *start = buf;
        unsigned long addr, val;
        int ret;