Patchwork [Trivial,05/33] powerpc: idle: Convert use of typedef ctl_table to struct ctl_table

login
register
mail settings
Submitter Joe Perches
Date June 14, 2013, 2:37 a.m.
Message ID <5e6452662144ad4c21bf817beeac0c1a32793c5c.1371177118.git.joe@perches.com>
Download mbox | patch
Permalink /patch/251207/
State Accepted, archived
Commit cc293bf7a9aa6fad68d107c79705732bd2fc57e3
Headers show

Comments

Joe Perches - June 14, 2013, 2:37 a.m.
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/powerpc/kernel/idle.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c
index 939ea7e..d7216c9 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,