summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-17 19:13:23 +0200
committerLee Jones <lee.jones@linaro.org>2019-01-03 09:32:42 +0100
commit8838555089f0345b87f4277fe5a8dd647dc65589 (patch)
treecd6013793d8ac8eacc1e70947ff689eb578f9f08 /arch
parentiio: adc: ti_am335x_tscadc: Improve accuracy of measurement (diff)
downloadlinux-8838555089f0345b87f4277fe5a8dd647dc65589.tar.xz
linux-8838555089f0345b87f4277fe5a8dd647dc65589.zip
mfd: twl-core: Fix section annotations on {,un}protect_pm_master
When building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x3d84a3b): Section mismatch in reference from the function twl_probe() to the function .init.text:unprotect_pm_master() The function twl_probe() references the function __init unprotect_pm_master(). This is often because twl_probe lacks a __init annotation or the annotation of unprotect_pm_master is wrong. Remove the __init annotation on the *protect_pm_master functions so there is no more mismatch. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions