Commit 2841efa6 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

ia64: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 37649de2
...@@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data) ...@@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data)
} }
#ifdef CONFIG_SYSCTL #ifdef CONFIG_SYSCTL
static ctl_table kdump_ctl_table[] = { static struct ctl_table kdump_ctl_table[] = {
{ {
.procname = "kdump_on_init", .procname = "kdump_on_init",
.data = &kdump_on_init, .data = &kdump_on_init,
...@@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = { ...@@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = {
{ } { }
}; };
static ctl_table sys_table[] = { static struct ctl_table sys_table[] = {
{ {
.procname = "kernel", .procname = "kernel",
.mode = 0555, .mode = 0555,
......
...@@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf; ...@@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf;
pfm_sysctl_t pfm_sysctl; pfm_sysctl_t pfm_sysctl;
EXPORT_SYMBOL(pfm_sysctl); EXPORT_SYMBOL(pfm_sysctl);
static ctl_table pfm_ctl_table[]={ static struct ctl_table pfm_ctl_table[] = {
{ {
.procname = "debug", .procname = "debug",
.data = &pfm_sysctl.debug, .data = &pfm_sysctl.debug,
...@@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={ ...@@ -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", .procname = "perfmon",
.mode = 0555, .mode = 0555,
...@@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = { ...@@ -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", .procname = "kernel",
.mode = 0555, .mode = 0555,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment