summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/sysctl.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-06-14 04:37:27 +0200
committerJiri Kosina <jkosina@suse.cz>2013-06-14 11:56:07 +0200
commitadc88ffc405c080956cd9af0538e294ff1368999 (patch)
tree2bb56f5b0f53e2fbfa76f6dac32568f25170e442 /arch/frv/kernel/sysctl.c
parentsgi: xpc: Convert use of typedef ctl_table to struct ctl_table (diff)
downloadlinux-adc88ffc405c080956cd9af0538e294ff1368999.tar.xz
linux-adc88ffc405c080956cd9af0538e294ff1368999.zip
frv: Convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/frv/kernel/sysctl.c')
-rw-r--r--arch/frv/kernel/sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c
index 6c155d69da29..f4dfae2c75ad 100644
--- a/arch/frv/kernel/sysctl.c
+++ b/arch/frv/kernel/sysctl.c
@@ -46,7 +46,7 @@ static void frv_change_dcache_mode(unsigned long newmode)
/*
* handle requests to dynamically switch the write caching mode delivered by /proc
*/
-static int procctl_frv_cachemode(ctl_table *table, int write,
+static int procctl_frv_cachemode(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp,
loff_t *ppos)
{
@@ -121,7 +121,7 @@ static int procctl_frv_cachemode(ctl_table *table, int write,
* permit the mm_struct the nominated process is using have its MMU context ID pinned
*/
#ifdef CONFIG_MMU
-static int procctl_frv_pin_cxnr(ctl_table *table, int write,
+static int procctl_frv_pin_cxnr(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp,
loff_t *ppos)
{