ia64: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Fri, 6 Jun 2014 21:37:55 +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/ia64/kernel/crash.c
arch/ia64/kernel/perfmon.c

index b942f4032d7a537856e86d9fc69e83b4fe16dcd3..2955f359e2a7a9019d38ca066015c16d10d806d4 100644 (file)
@@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data)
 }
 
 #ifdef CONFIG_SYSCTL
-static ctl_table kdump_ctl_table[] = {
+static struct ctl_table kdump_ctl_table[] = {
        {
                .procname = "kdump_on_init",
                .data = &kdump_on_init,
@@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = {
        { }
 };
 
-static ctl_table sys_table[] = {
+static struct ctl_table sys_table[] = {
        {
          .procname = "kernel",
          .mode = 0555,
index d841c4bd6864907212cde6554957e65d27eaa02d..5845ffea67c307c047aa49b1548bbf18eab395f3 100644 (file)
@@ -521,7 +521,7 @@ static pmu_config_t         *pmu_conf;
 pfm_sysctl_t pfm_sysctl;
 EXPORT_SYMBOL(pfm_sysctl);
 
-static ctl_table pfm_ctl_table[]={
+static struct ctl_table pfm_ctl_table[] = {
        {
                .procname       = "debug",
                .data           = &pfm_sysctl.debug,
@@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={
        },
        {}
 };
-static ctl_table pfm_sysctl_dir[] = {
+static struct ctl_table pfm_sysctl_dir[] = {
        {
                .procname       = "perfmon",
                .mode           = 0555,
@@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = {
        },
        {}
 };
-static ctl_table pfm_sysctl_root[] = {
+static struct ctl_table pfm_sysctl_root[] = {
        {
                .procname       = "kernel",
                .mode           = 0555,