]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/misc/sgi-gru/gruprocfs.c
GRU Driver V3: fixes to resolve code review comments
[linux-2.6-omap-h63xx.git] / drivers / misc / sgi-gru / gruprocfs.c
index bdb1ad83bbfb329fe78ba28a4c97b8f93c08c91f..533923f83f1aa061635571b86934ad2715014be7 100644 (file)
@@ -122,7 +122,7 @@ static ssize_t statistics_write(struct file *file, const char __user *userbuf,
 
 static int options_show(struct seq_file *s, void *p)
 {
-       seq_printf(s, "0x%lx\n", options);
+       seq_printf(s, "0x%lx\n", gru_options);
        return 0;
 }
 
@@ -136,7 +136,7 @@ static ssize_t options_write(struct file *file, const char __user *userbuf,
            (buf, userbuf, count < sizeof(buf) ? count : sizeof(buf)))
                return -EFAULT;
        if (!strict_strtoul(buf, 10, &val))
-               options = val;
+               gru_options = val;
 
        return count;
 }