sgi: xpc: Convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Fri, 14 Jun 2013 02:37:39 +0000 (19:37 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 14 Jun 2013 08:19:25 +0000 (10:19 +0200)
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>
drivers/misc/sgi-xp/xpc_main.c

index d971817182f79b92e5136e64eebf79351a40f0d7..82dc5748f873b72ea355b517c606d59dc6235c31 100644 (file)
@@ -92,7 +92,7 @@ int xpc_disengage_timelimit = XPC_DISENGAGE_DEFAULT_TIMELIMIT;
 static int xpc_disengage_min_timelimit;        /* = 0 */
 static int xpc_disengage_max_timelimit = 120;
 
-static ctl_table xpc_sys_xpc_hb_dir[] = {
+static struct ctl_table xpc_sys_xpc_hb_dir[] = {
        {
         .procname = "hb_interval",
         .data = &xpc_hb_interval,
@@ -111,7 +111,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = {
         .extra2 = &xpc_hb_check_max_interval},
        {}
 };
-static ctl_table xpc_sys_xpc_dir[] = {
+static struct ctl_table xpc_sys_xpc_dir[] = {
        {
         .procname = "hb",
         .mode = 0555,
@@ -126,7 +126,7 @@ static ctl_table xpc_sys_xpc_dir[] = {
         .extra2 = &xpc_disengage_max_timelimit},
        {}
 };
-static ctl_table xpc_sys_dir[] = {
+static struct ctl_table xpc_sys_dir[] = {
        {
         .procname = "xpc",
         .mode = 0555,