Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Benjamin Herrenschmidt
cc293bf7 5524f3fc

+2 -2
+2 -2
arch/powerpc/kernel/idle.c
··· 85 85 /* 86 86 * Register the sysctl to set/clear powersave_nap. 87 87 */ 88 - static ctl_table powersave_nap_ctl_table[]={ 88 + static struct ctl_table powersave_nap_ctl_table[] = { 89 89 { 90 90 .procname = "powersave-nap", 91 91 .data = &powersave_nap, ··· 95 95 }, 96 96 {} 97 97 }; 98 - static ctl_table powersave_nap_sysctl_root[] = { 98 + static struct ctl_table powersave_nap_sysctl_root[] = { 99 99 { 100 100 .procname = "kernel", 101 101 .mode = 0555,