aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-09-15 19:23:13 +0000
committerGreg Kroah-Hartman <[email protected]>2017-09-18 10:25:31 +0000
commit056e4fc2018364ba01a23a1ced0ccbbdfa4520b3 (patch)
tree384a996345defa7a5f75ea40698190ff2353979b /drivers/iio/trigger/stm32-timer-trigger.c
parentLinux 4.14-rc1 (diff)
downloadkernel-056e4fc2018364ba01a23a1ced0ccbbdfa4520b3.tar.gz
kernel-056e4fc2018364ba01a23a1ced0ccbbdfa4520b3.zip
staging: unisys/visorbus: add __init/__exit annotations
gcc-4.6 causes a harmless warning about the init function: WARNING: vmlinux.o(.text+0xed62c2): Section mismatch in reference from the function init_unisys() to the function .init.text:visorutil_spar_detect() The function init_unisys() references the function __init visorutil_spar_detect(). This is often because init_unisys lacks a __init annotation or the annotation of visorutil_spar_detect is wrong. It appears that newer versions inline visorutil_spar_detect(), end up with an empty __init section. This marks the module entry points as __init and __exit respectively, which avoids the warning and slightly reduces the runtime code size. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions