linux/drivers/staging/unisys
Arnd Bergmann 056e4fc201 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 <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-18 12:25:31 +02:00
..
Documentation staging: unisys: Switch to use new generic UUID API 2017-08-22 14:56:03 -07:00
include staging: unisys: change pr_err to dev_err in visor_check_channel 2017-08-31 18:17:40 +02:00
visorbus staging: unisys/visorbus: add __init/__exit annotations 2017-09-18 12:25:31 +02:00
visorhba SCSI misc on 20170907 2017-09-07 21:11:05 -07:00
visorinput staging: unisys: visorinput: Add module_driver driver registration 2017-08-28 10:27:29 +02:00
visornic staging: unisys: visornic: Remove unnecessary return values 2017-08-31 18:17:40 +02:00
Kconfig staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
MAINTAINERS staging: unisys: Documentation: Remove proc-entries.txt 2016-04-28 22:09:37 -07:00
Makefile staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
TODO staging: unisys: documentation and TODO tweaks 2015-09-12 18:24:43 -07:00