summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/microcode
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2020-12-30 11:20:25 +0100
committerBorislav Petkov <bp@suse.de>2020-12-31 11:44:00 +0100
commitc769dcd423785703f17ca0a99925a7f9d84b3cbc (patch)
tree0249656bb4a96abe57a4f3285cab30d3d7907636 /arch/x86/kernel/cpu/microcode
parentLinux 5.11-rc1 (diff)
downloadlinux-c769dcd423785703f17ca0a99925a7f9d84b3cbc.tar.xz
linux-c769dcd423785703f17ca0a99925a7f9d84b3cbc.zip
x86/microcode: Make microcode_init() static
No functional changes. Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20201230122147.26938-1-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/cpu/microcode')
-rw-r--r--arch/x86/kernel/cpu/microcode/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
index ec6f0415bc6d..b935e1b5f115 100644
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/core.c
@@ -830,7 +830,7 @@ static const struct attribute_group cpu_root_microcode_group = {
.attrs = cpu_root_microcode_attrs,
};
-int __init microcode_init(void)
+static int __init microcode_init(void)
{
struct cpuinfo_x86 *c = &boot_cpu_data;
int error;