• Axel Lin's avatar
    USB: isp1362-hcd - fix section mismatch warning · f52022b5
    Axel Lin authored
    Fix section mismatch warning by using "__devinit" annotation for isp1362_probe.
    
    WARNING: drivers/usb/host/isp1362-hcd.o(.data+0x0): Section mismatch in reference from the variable isp1362_driver to the function .init.text:isp1362_probe()
    The variable isp1362_driver references
    the function __init isp1362_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
    Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
    Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    f52022b5
isp1362-hcd.c 87.2 KB