summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-17 10:09:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-11 09:13:19 -0800
commit7c97301285b62a41d6bceded7d964085fc8cc50f (patch)
tree4fb62ef12eee986144c3afae3ca69ab7a2c3c7d6 /arch/um/drivers
parentfee05f455ceb5c670cbe48e2f9454ebc4a388554 (diff)
downloadlinux-7c97301285b62a41d6bceded7d964085fc8cc50f.tar.bz2
misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data
After building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x3bf19a6): Section mismatch in reference from the function ssc_probe() to the function .init.text:atmel_ssc_get_driver_data() The function ssc_probe() references the function __init atmel_ssc_get_driver_data(). This is often because ssc_probe lacks a __init annotation or the annotation of atmel_ssc_get_driver_data is wrong. Remove __init from atmel_ssc_get_driver_data to get rid of the mismatch. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/um/drivers')
0 files changed, 0 insertions, 0 deletions