diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2014-07-24 14:23:21 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-07-25 11:57:51 -0400 |
commit | 532ed3740c1ed1583ea3fa6de9410edf0d508563 (patch) | |
tree | d56ee288779b176f3c2b8a7979261a359868d2dc | |
parent | f99b45c3c2aa6960b8d21bb200d144be48a0a783 (diff) |
x86, microcode, intel: Rename apply_microcode and declare it static
Rename apply_microcode() in microcode/intel.c to
apply_microcode_intel(), and declare it as static. This is a cosmetic
fix to silence a warning issued by sparse.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Link: http://lkml.kernel.org/r/1406146251-8540-1-git-send-email-hmh@hmh.eng.br
Signed-off-by: Borislav Petkov <bp@suse.de>
-rw-r--r-- | arch/x86/kernel/cpu/microcode/intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index a276fa75d9b5..c6826d1e8082 100644 --- a/arch/x86/kernel/cpu/microcode/intel.c +++ b/arch/x86/kernel/cpu/microcode/intel.c | |||
@@ -127,7 +127,7 @@ static int get_matching_mc(struct microcode_intel *mc_intel, int cpu) | |||
127 | return get_matching_microcode(csig, cpf, mc_intel, crev); | 127 | return get_matching_microcode(csig, cpf, mc_intel, crev); |
128 | } | 128 | } |
129 | 129 | ||
130 | int apply_microcode(int cpu) | 130 | static int apply_microcode_intel(int cpu) |
131 | { | 131 | { |
132 | struct microcode_intel *mc_intel; | 132 | struct microcode_intel *mc_intel; |
133 | struct ucode_cpu_info *uci; | 133 | struct ucode_cpu_info *uci; |
@@ -314,7 +314,7 @@ static struct microcode_ops microcode_intel_ops = { | |||
314 | .request_microcode_user = request_microcode_user, | 314 | .request_microcode_user = request_microcode_user, |
315 | .request_microcode_fw = request_microcode_fw, | 315 | .request_microcode_fw = request_microcode_fw, |
316 | .collect_cpu_info = collect_cpu_info, | 316 | .collect_cpu_info = collect_cpu_info, |
317 | .apply_microcode = apply_microcode, | 317 | .apply_microcode = apply_microcode_intel, |
318 | .microcode_fini_cpu = microcode_fini_cpu, | 318 | .microcode_fini_cpu = microcode_fini_cpu, |
319 | }; | 319 | }; |
320 | 320 | ||