diff options
author | Joe Perches <joe@perches.com> | 2013-06-14 04:37:30 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-07-01 03:10:35 +0200 |
commit | cc293bf7a9aa6fad68d107c79705732bd2fc57e3 (patch) | |
tree | 0ed35c0a37869f01ac0cd4375be4d28197bd04e2 /arch/powerpc/kernel/idle.c | |
parent | powerpc/iommu: Remove unused pci_iommu_init() and pci_direct_iommu_init() (diff) | |
download | linux-cc293bf7a9aa6fad68d107c79705732bd2fc57e3.tar.xz linux-cc293bf7a9aa6fad68d107c79705732bd2fc57e3.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/idle.c')
-rw-r--r-- | arch/powerpc/kernel/idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c index 939ea7ef0dc8..d7216c9abda1 100644 --- a/arch/powerpc/kernel/idle.c +++ b/arch/powerpc/kernel/idle.c @@ -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, |