• Henrik Kretzschmar's avatar
    USB: rndis: section mismatch fix · 793f03aa
    Henrik Kretzschmar authored
    This patch removes the following section mismatch warning,
    by moving the function rndis_init() from .init.text to .text.
    
    WARNING: vmlinux.o(.text+0x1aeca5a): Section mismatch in reference from the function rndis_bind_config() to the function .init.text:rndis_init()
    The function rndis_bind_config() references
    the function __init rndis_init().
    This is often because rndis_bind_config lacks a __init
    annotation or the annotation of rndis_init is wrong.
    Signed-off-by: default avatarHenrik Kretzschmar <henne@nachtwindheim.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    793f03aa
rndis.h 6.5 KB