mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
powerpc/idle: 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
5524f3fc06
commit
cc293bf7a9
@ -85,7 +85,7 @@ int 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",
|
||||
.data = &powersave_nap,
|
||||
@ -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",
|
||||
.mode = 0555,
|
||||
|
Loading…
Reference in New Issue
Block a user