diff options
| author | Arnd Bergmann <[email protected]> | 2019-06-19 13:04:54 +0000 |
|---|---|---|
| committer | Olof Johansson <[email protected]> | 2019-06-19 14:27:05 +0000 |
| commit | 27e23d8975270df6999f8b5b3156fc0c04927451 (patch) | |
| tree | b8cdc9cfa8a50d99d321da800abb49a9170a42ac /fs/proc/array.c | |
| parent | Merge tag 'gemini-dts-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-27e23d8975270df6999f8b5b3156fc0c04927451.tar.gz kernel-27e23d8975270df6999f8b5b3156fc0c04927451.zip | |
ARM: omap2: remove incorrect __init annotation
omap3xxx_prm_enable_io_wakeup() is marked __init, but its caller is not, so
we get a warning with clang-8:
WARNING: vmlinux.o(.text+0x343c8): Section mismatch in reference from the function omap3xxx_prm_late_init() to the function .init.text:omap3xxx_prm_enable_io_wakeup()
The function omap3xxx_prm_late_init() references
the function __init omap3xxx_prm_enable_io_wakeup().
This is often because omap3xxx_prm_late_init lacks a __init
annotation or the annotation of omap3xxx_prm_enable_io_wakeup is wrong.
When building with gcc, omap3xxx_prm_enable_io_wakeup() is always
inlined, so we never noticed in the past.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Reviewed-by: Andrew Murray <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
