Skip to content

Commit 52586b0

Browse files
rralfKAGA-KOKO
authored andcommitted
x86/cpuid: Switch to 'static const' specifier
This is the only spot where the 'const static' specifier is used; everywhere else 'static const' is preferred, as static should be the first specifier. This is just a cosmetic fix that aligns this, no functional change. Signed-off-by: Ralf Ramsauer <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Gayatri Kammela <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 1b88acc commit 52586b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/cpuid-deps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct cpuid_dep {
1919
* called from cpu hotplug. It shouldn't do anything in this case,
2020
* but it's difficult to tell that to the init reference checker.
2121
*/
22-
const static struct cpuid_dep cpuid_deps[] = {
22+
static const struct cpuid_dep cpuid_deps[] = {
2323
{ X86_FEATURE_XSAVEOPT, X86_FEATURE_XSAVE },
2424
{ X86_FEATURE_XSAVEC, X86_FEATURE_XSAVE },
2525
{ X86_FEATURE_XSAVES, X86_FEATURE_XSAVE },

0 commit comments

Comments
 (0)