diff options
Diffstat (limited to 'drivers/misc/sgi-gru/gruprocfs.c')
-rw-r--r-- | drivers/misc/sgi-gru/gruprocfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/gruprocfs.c b/drivers/misc/sgi-gru/gruprocfs.c index bdb1ad83bbfb..533923f83f1a 100644 --- a/drivers/misc/sgi-gru/gruprocfs.c +++ b/drivers/misc/sgi-gru/gruprocfs.c | |||
@@ -122,7 +122,7 @@ static ssize_t statistics_write(struct file *file, const char __user *userbuf, | |||
122 | 122 | ||
123 | static int options_show(struct seq_file *s, void *p) | 123 | static int options_show(struct seq_file *s, void *p) |
124 | { | 124 | { |
125 | seq_printf(s, "0x%lx\n", options); | 125 | seq_printf(s, "0x%lx\n", gru_options); |
126 | return 0; | 126 | return 0; |
127 | } | 127 | } |
128 | 128 | ||
@@ -136,7 +136,7 @@ static ssize_t options_write(struct file *file, const char __user *userbuf, | |||
136 | (buf, userbuf, count < sizeof(buf) ? count : sizeof(buf))) | 136 | (buf, userbuf, count < sizeof(buf) ? count : sizeof(buf))) |
137 | return -EFAULT; | 137 | return -EFAULT; |
138 | if (!strict_strtoul(buf, 10, &val)) | 138 | if (!strict_strtoul(buf, 10, &val)) |
139 | options = val; | 139 | gru_options = val; |
140 | 140 | ||
141 | return count; | 141 | return count; |
142 | } | 142 | } |