Commit 5fcd220b authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] C99 designated initializer for kernel/cpufreq.c

parent 35d5a4b5
...@@ -677,19 +677,19 @@ static ctl_table ctl_cpu_table[NR_CPUS + 1] = { ...@@ -677,19 +677,19 @@ static ctl_table ctl_cpu_table[NR_CPUS + 1] = {
#error please extend CPU enumeration #error please extend CPU enumeration
#endif #endif
{ {
ctl_name: 0, .ctl_name = 0,
} }
}; };
static ctl_table ctl_cpu[2] = { static ctl_table ctl_cpu[2] = {
{ {
ctl_name: CTL_CPU, .ctl_name = CTL_CPU,
procname: "cpu", .procname = "cpu",
mode: 0555, .mode = 0555,
child: ctl_cpu_table, .child = ctl_cpu_table,
}, },
{ {
ctl_name: 0, .ctl_name = 0,
} }
}; };
......
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