OSDN Git Service

arm: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Fri, 6 Jun 2014 21:37:54 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:15 +0000 (16:08 -0700)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/kernel/isa.c

index 3464859..9d1cf71 100644 (file)
@@ -20,7 +20,7 @@
 
 static unsigned int isa_membase, isa_portbase, isa_portshift;
 
-static ctl_table ctl_isa_vars[4] = {
+static struct ctl_table ctl_isa_vars[4] = {
        {
                .procname       = "membase",
                .data           = &isa_membase, 
@@ -44,7 +44,7 @@ static ctl_table ctl_isa_vars[4] = {
 
 static struct ctl_table_header *isa_sysctl_header;
 
-static ctl_table ctl_isa[2] = {
+static struct ctl_table ctl_isa[2] = {
        {
                .procname       = "isa",
                .mode           = 0555,
@@ -52,7 +52,7 @@ static ctl_table ctl_isa[2] = {
        }, {}
 };
 
-static ctl_table ctl_bus[2] = {
+static struct ctl_table ctl_bus[2] = {
        {
                .procname       = "bus",
                .mode           = 0555,