diff options
author | Joe Perches <joe@perches.com> | 2014-06-06 17:37:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:15 -0400 |
commit | 2841efa6362cdcd82934dd9482ba4981ad5cc790 (patch) | |
tree | 1e3e01d84bc64eb8c81ac3c5eaf76255989a6cae /arch/ia64 | |
parent | 37649de2390b0c6668c6621e0a69d59c7d23022f (diff) |
ia64: 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/crash.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/perfmon.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index b942f4032d7a..2955f359e2a7 100644 --- a/arch/ia64/kernel/crash.c +++ b/arch/ia64/kernel/crash.c | |||
@@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data) | |||
237 | } | 237 | } |
238 | 238 | ||
239 | #ifdef CONFIG_SYSCTL | 239 | #ifdef CONFIG_SYSCTL |
240 | static ctl_table kdump_ctl_table[] = { | 240 | static struct ctl_table kdump_ctl_table[] = { |
241 | { | 241 | { |
242 | .procname = "kdump_on_init", | 242 | .procname = "kdump_on_init", |
243 | .data = &kdump_on_init, | 243 | .data = &kdump_on_init, |
@@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = { | |||
255 | { } | 255 | { } |
256 | }; | 256 | }; |
257 | 257 | ||
258 | static ctl_table sys_table[] = { | 258 | static struct ctl_table sys_table[] = { |
259 | { | 259 | { |
260 | .procname = "kernel", | 260 | .procname = "kernel", |
261 | .mode = 0555, | 261 | .mode = 0555, |
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index d841c4bd6864..5845ffea67c3 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
@@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf; | |||
521 | pfm_sysctl_t pfm_sysctl; | 521 | pfm_sysctl_t pfm_sysctl; |
522 | EXPORT_SYMBOL(pfm_sysctl); | 522 | EXPORT_SYMBOL(pfm_sysctl); |
523 | 523 | ||
524 | static ctl_table pfm_ctl_table[]={ | 524 | static struct ctl_table pfm_ctl_table[] = { |
525 | { | 525 | { |
526 | .procname = "debug", | 526 | .procname = "debug", |
527 | .data = &pfm_sysctl.debug, | 527 | .data = &pfm_sysctl.debug, |
@@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={ | |||
552 | }, | 552 | }, |
553 | {} | 553 | {} |
554 | }; | 554 | }; |
555 | static ctl_table pfm_sysctl_dir[] = { | 555 | static struct ctl_table pfm_sysctl_dir[] = { |
556 | { | 556 | { |
557 | .procname = "perfmon", | 557 | .procname = "perfmon", |
558 | .mode = 0555, | 558 | .mode = 0555, |
@@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = { | |||
560 | }, | 560 | }, |
561 | {} | 561 | {} |
562 | }; | 562 | }; |
563 | static ctl_table pfm_sysctl_root[] = { | 563 | static struct ctl_table pfm_sysctl_root[] = { |
564 | { | 564 | { |
565 | .procname = "kernel", | 565 | .procname = "kernel", |
566 | .mode = 0555, | 566 | .mode = 0555, |