]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ia64: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Sat, 17 May 2014 13:19:16 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 May 2014 07:34:54 +0000 (17:34 +1000)
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>
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,