summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/cmm.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-23 00:29:46 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-10-28 08:36:25 +0100
commit302bfe20ade2a7d6d02632ae8a775a68f651c0be (patch)
tree3b0a2b3b361b7486b3b815e41bdcdd66aa6cb4fc /arch/s390/mm/cmm.c
parents390/pci: cleanup function information block (diff)
downloadlinux-302bfe20ade2a7d6d02632ae8a775a68f651c0be.tar.xz
linux-302bfe20ade2a7d6d02632ae8a775a68f651c0be.zip
s390: 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> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/cmm.c')
-rw-r--r--arch/s390/mm/cmm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c
index 76741306af2a..79ddd580d605 100644
--- a/arch/s390/mm/cmm.c
+++ b/arch/s390/mm/cmm.c
@@ -253,8 +253,8 @@ static int cmm_skip_blanks(char *cp, char **endp)
static struct ctl_table cmm_table[];
-static int cmm_pages_handler(ctl_table *ctl, int write, void __user *buffer,
- size_t *lenp, loff_t *ppos)
+static int cmm_pages_handler(struct ctl_table *ctl, int write,
+ void __user *buffer, size_t *lenp, loff_t *ppos)
{
char buf[16], *p;
unsigned int len;
@@ -293,8 +293,8 @@ static int cmm_pages_handler(ctl_table *ctl, int write, void __user *buffer,
return 0;
}
-static int cmm_timeout_handler(ctl_table *ctl, int write, void __user *buffer,
- size_t *lenp, loff_t *ppos)
+static int cmm_timeout_handler(struct ctl_table *ctl, int write,
+ void __user *buffer, size_t *lenp, loff_t *ppos)
{
char buf[64], *p;
long nr, seconds;