diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-09-04 15:19:56 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-09-04 17:59:32 +0200 |
commit | 3b1261fb72c7dc6a9e4604ef1ea01d6bb67cc3d1 (patch) | |
tree | 53edfc0aade487d5c5a8af08c864879c8aa58c13 /drivers/firmware/ti_sci.c | |
parent | c7b46e0c33c594623a279db4e1725d7ae477280f (diff) | |
download | linux-3b1261fb72c7dc6a9e4604ef1ea01d6bb67cc3d1.tar.gz linux-3b1261fb72c7dc6a9e4604ef1ea01d6bb67cc3d1.tar.bz2 linux-3b1261fb72c7dc6a9e4604ef1ea01d6bb67cc3d1.zip |
bus: imx-weim: remove incorrect __init annotations
The probe function is no longer __init, so anything it calls now
must also be available at runtime, as Kbuild points out when building
with clang-9:
WARNING: vmlinux.o(.text+0x6e7040): Section mismatch in reference from the function weim_probe() to the function .init.text:imx_weim_gpr_setup()
The function weim_probe() references
the function __init imx_weim_gpr_setup().
This is often because weim_probe lacks a __init
annotation or the annotation of imx_weim_gpr_setup is wrong.
WARNING: vmlinux.o(.text+0x6e70f0): Section mismatch in reference from the function weim_probe() to the function .init.text:weim_timing_setup()
The function weim_probe() references
the function __init weim_timing_setup().
This is often because weim_probe lacks a __init
annotation or the annotation of weim_timing_setup is wrong.
Remove the remaining __init markings that are now wrong.
Fixes: 4a92f07816ba ("bus: imx-weim: use module_platform_driver()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/firmware/ti_sci.c')
0 files changed, 0 insertions, 0 deletions