Skip to content
Commit 82d8ba71 authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Greg Kroah-Hartman
Browse files

arch_topology: Fix section miss match warning due to free_raw_capacity()



Remove the __init annotation from free_raw_capacity() to avoid
the following warning.

The function init_cpu_capacity_callback() references the
function __init free_raw_capacity().
WARNING: vmlinux.o(.text+0x425cc0): Section mismatch in reference
from the function init_cpu_capacity_callback() to the function
.init.text:free_raw_capacity().

Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f4f89f23
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