diff options
Diffstat (limited to 'arch/frv/kernel/sysctl.c')
-rw-r--r-- | arch/frv/kernel/sysctl.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c index 3e9d7e03fb95..71abd1510a59 100644 --- a/arch/frv/kernel/sysctl.c +++ b/arch/frv/kernel/sysctl.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * 2 of the License, or (at your option) any later version. | 9 | * 2 of the License, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/slab.h> | ||
13 | #include <linux/sysctl.h> | 12 | #include <linux/sysctl.h> |
14 | #include <linux/proc_fs.h> | 13 | #include <linux/proc_fs.h> |
15 | #include <linux/init.h> | 14 | #include <linux/init.h> |
@@ -176,21 +175,19 @@ static int procctl_frv_pin_cxnr(ctl_table *table, int write, struct file *filp, | |||
176 | static struct ctl_table frv_table[] = | 175 | static struct ctl_table frv_table[] = |
177 | { | 176 | { |
178 | { | 177 | { |
179 | .ctl_name = 1, | ||
180 | .procname = "cache-mode", | 178 | .procname = "cache-mode", |
181 | .data = NULL, | 179 | .data = NULL, |
182 | .maxlen = 0, | 180 | .maxlen = 0, |
183 | .mode = 0644, | 181 | .mode = 0644, |
184 | .proc_handler = &procctl_frv_cachemode, | 182 | .proc_handler = procctl_frv_cachemode, |
185 | }, | 183 | }, |
186 | #ifdef CONFIG_MMU | 184 | #ifdef CONFIG_MMU |
187 | { | 185 | { |
188 | .ctl_name = 2, | ||
189 | .procname = "pin-cxnr", | 186 | .procname = "pin-cxnr", |
190 | .data = NULL, | 187 | .data = NULL, |
191 | .maxlen = 0, | 188 | .maxlen = 0, |
192 | .mode = 0644, | 189 | .mode = 0644, |
193 | .proc_handler = &procctl_frv_pin_cxnr | 190 | .proc_handler = procctl_frv_pin_cxnr |
194 | }, | 191 | }, |
195 | #endif | 192 | #endif |
196 | {} | 193 | {} |
@@ -203,7 +200,6 @@ static struct ctl_table frv_table[] = | |||
203 | static struct ctl_table frv_dir_table[] = | 200 | static struct ctl_table frv_dir_table[] = |
204 | { | 201 | { |
205 | { | 202 | { |
206 | .ctl_name = CTL_FRV, | ||
207 | .procname = "frv", | 203 | .procname = "frv", |
208 | .mode = 0555, | 204 | .mode = 0555, |
209 | .child = frv_table | 205 | .child = frv_table |