]> git.baikalelectronics.ru Git - kernel.git/commit
arch_topology: Fix section miss match warning due to free_raw_capacity()
authorPrasad Sodagudi <psodagud@codeaurora.org>
Tue, 10 Oct 2017 07:34:56 +0000 (00:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 14:32:39 +0000 (16:32 +0200)
commit57b3549e194dccba3e3b0e6a5c993c71d9c604ab
tree8dc63f3a864ca35ef22cab8de5c6d650374a83b0
parente502fc3fc40879ec09e4cc7ac1301bf85b4cab70
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: Prasad Sodagudi <psodagud@codeaurora.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/arch_topology.c