Commit cc293bf7 authored by Joe Perches's avatar Joe Perches Committed by Benjamin Herrenschmidt

powerpc/idle: 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 avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 5524f3fc
...@@ -85,7 +85,7 @@ int powersave_nap; ...@@ -85,7 +85,7 @@ int powersave_nap;
/* /*
* Register the sysctl to set/clear powersave_nap. * Register the sysctl to set/clear powersave_nap.
*/ */
static ctl_table powersave_nap_ctl_table[]={ static struct ctl_table powersave_nap_ctl_table[] = {
{ {
.procname = "powersave-nap", .procname = "powersave-nap",
.data = &powersave_nap, .data = &powersave_nap,
...@@ -95,7 +95,7 @@ static ctl_table powersave_nap_ctl_table[]={ ...@@ -95,7 +95,7 @@ static ctl_table powersave_nap_ctl_table[]={
}, },
{} {}
}; };
static ctl_table powersave_nap_sysctl_root[] = { static struct ctl_table powersave_nap_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