diff options
author | Joe Perches <joe@perches.com> | 2013-06-13 22:37:39 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-06-14 04:19:25 -0400 |
commit | f0b76558cfd11dc0e28f6015e540c28a521efbaa (patch) | |
tree | 5012c44d27007506274210a9afc99f6b8b6d478d /drivers/misc/sgi-xp/xpc_main.c | |
parent | 135419501a88af815f0b352d6599534c854d3281 (diff) |
sgi: xpc: 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>
Acked-by: Robin Holt <holt@sgi.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/misc/sgi-xp/xpc_main.c')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index d971817182f7..82dc5748f873 100644 --- a/drivers/misc/sgi-xp/xpc_main.c +++ b/drivers/misc/sgi-xp/xpc_main.c | |||
@@ -92,7 +92,7 @@ int xpc_disengage_timelimit = XPC_DISENGAGE_DEFAULT_TIMELIMIT; | |||
92 | static int xpc_disengage_min_timelimit; /* = 0 */ | 92 | static int xpc_disengage_min_timelimit; /* = 0 */ |
93 | static int xpc_disengage_max_timelimit = 120; | 93 | static int xpc_disengage_max_timelimit = 120; |
94 | 94 | ||
95 | static ctl_table xpc_sys_xpc_hb_dir[] = { | 95 | static struct ctl_table xpc_sys_xpc_hb_dir[] = { |
96 | { | 96 | { |
97 | .procname = "hb_interval", | 97 | .procname = "hb_interval", |
98 | .data = &xpc_hb_interval, | 98 | .data = &xpc_hb_interval, |
@@ -111,7 +111,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = { | |||
111 | .extra2 = &xpc_hb_check_max_interval}, | 111 | .extra2 = &xpc_hb_check_max_interval}, |
112 | {} | 112 | {} |
113 | }; | 113 | }; |
114 | static ctl_table xpc_sys_xpc_dir[] = { | 114 | static struct ctl_table xpc_sys_xpc_dir[] = { |
115 | { | 115 | { |
116 | .procname = "hb", | 116 | .procname = "hb", |
117 | .mode = 0555, | 117 | .mode = 0555, |
@@ -126,7 +126,7 @@ static ctl_table xpc_sys_xpc_dir[] = { | |||
126 | .extra2 = &xpc_disengage_max_timelimit}, | 126 | .extra2 = &xpc_disengage_max_timelimit}, |
127 | {} | 127 | {} |
128 | }; | 128 | }; |
129 | static ctl_table xpc_sys_dir[] = { | 129 | static struct ctl_table xpc_sys_dir[] = { |
130 | { | 130 | { |
131 | .procname = "xpc", | 131 | .procname = "xpc", |
132 | .mode = 0555, | 132 | .mode = 0555, |