aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_poweroff.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-06-13 22:37:35 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 19:43:08 -0400
commita151427ed086952cc28f1d5f1cda84c33e48e358 (patch)
tree55ebbc00fc8fcbc48036722f500fec99161f8eb2 /drivers/char/ipmi/ipmi_poweroff.c
parentc36c5736be5cc638db7659093bf8c2c7f48c5000 (diff)
char: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_poweroff.c')
-rw-r--r--drivers/char/ipmi/ipmi_poweroff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c
index 2efa176beab0..9f2e3be2c5b8 100644
--- a/drivers/char/ipmi/ipmi_poweroff.c
+++ b/drivers/char/ipmi/ipmi_poweroff.c
@@ -659,7 +659,7 @@ static struct ipmi_smi_watcher smi_watcher = {
659#ifdef CONFIG_PROC_FS 659#ifdef CONFIG_PROC_FS
660#include <linux/sysctl.h> 660#include <linux/sysctl.h>
661 661
662static ctl_table ipmi_table[] = { 662static struct ctl_table ipmi_table[] = {
663 { .procname = "poweroff_powercycle", 663 { .procname = "poweroff_powercycle",
664 .data = &poweroff_powercycle, 664 .data = &poweroff_powercycle,
665 .maxlen = sizeof(poweroff_powercycle), 665 .maxlen = sizeof(poweroff_powercycle),
@@ -668,14 +668,14 @@ static ctl_table ipmi_table[] = {
668 { } 668 { }
669}; 669};
670 670
671static ctl_table ipmi_dir_table[] = { 671static struct ctl_table ipmi_dir_table[] = {
672 { .procname = "ipmi", 672 { .procname = "ipmi",
673 .mode = 0555, 673 .mode = 0555,
674 .child = ipmi_table }, 674 .child = ipmi_table },
675 { } 675 { }
676}; 676};
677 677
678static ctl_table ipmi_root_table[] = { 678static struct ctl_table ipmi_root_table[] = {
679 { .procname = "dev", 679 { .procname = "dev",
680 .mode = 0555, 680 .mode = 0555,
681 .child = ipmi_dir_table }, 681 .child = ipmi_dir_table },