diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-10-18 02:56:28 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-01-03 09:32:42 +0100 |
commit | a3888f62fe66429fad3be7f2ba962e1e08c26fd6 (patch) | |
tree | 5bfa7dd9d33612b23364288d0b31fbe1f5bed756 /drivers/mfd/cs47l90-tables.c | |
parent | mfd: twl-core: Fix section annotations on {,un}protect_pm_master (diff) | |
download | linux-a3888f62fe66429fad3be7f2ba962e1e08c26fd6.tar.xz linux-a3888f62fe66429fad3be7f2ba962e1e08c26fd6.zip |
mfd: db8500-prcmu: Fix some section annotations
When building the kernel with Clang, the following section mismatch
warnings appear:
WARNING: vmlinux.o(.text+0x7239cc): Section mismatch in reference from
the function db8500_prcmu_probe() to the function
.init.text:init_prcm_registers()
The function db8500_prcmu_probe() references
the function __init init_prcm_registers().
This is often because db8500_prcmu_probe lacks a __init
annotation or the annotation of init_prcm_registers is wrong.
WARNING: vmlinux.o(.text+0x723e28): Section mismatch in reference from
the function db8500_prcmu_probe() to the function
.init.text:fw_project_name()
The function db8500_prcmu_probe() references
the function __init fw_project_name().
This is often because db8500_prcmu_probe lacks a __init
annotation or the annotation of fw_project_name is wrong.
db8500_prcmu_probe should not be marked as __init so remove the __init
annotation from fw_project_name and init_prcm_registers.
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/cs47l90-tables.c')
0 files changed, 0 insertions, 0 deletions