• Russell King's avatar
    FB: sa1100: avoid section mismatch warnings · 66564d83
    Russell King authored
    WARNING: drivers/video/built-in.o(.devinit.text+0x58): Section mismatch in reference from the function sa1100fb_probe() to the function .init.text:sa1100fb_init_fbinfo()
    The function __devinit sa1100fb_probe() references
    a function __init sa1100fb_init_fbinfo().
    If sa1100fb_init_fbinfo is only used by sa1100fb_probe then
    annotate sa1100fb_init_fbinfo with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x258): Section mismatch in reference from the function sa1100fb_init_fbinfo() to the (unknown reference) .init.data:(unknown)
    The function __devinit sa1100fb_init_fbinfo() references
    a (unknown reference) __initdata (unknown).
    If (unknown) is only used by sa1100fb_init_fbinfo then
    annotate (unknown) with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x26c): Section mismatch in reference from the function sa1100fb_init_fbinfo() to the (unknown reference) .init.data:(unknown)
    The function __devinit sa1100fb_init_fbinfo() references
    a (unknown reference) __initdata (unknown).
    If (unknown) is only used by sa1100fb_init_fbinfo then
    annotate (unknown) with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x270): Section mismatch in reference from the function sa1100fb_init_fbinfo() to the (unknown reference) .init.data:(unknown)
    The function __devinit sa1100fb_init_fbinfo() references
    a (unknown reference) __initdata (unknown).
    If (unknown) is only used by sa1100fb_init_fbinfo then
    annotate (unknown) with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x278): Section mismatch in reference from the function sa1100fb_init_fbinfo() to the (unknown reference) .init.data:(unknown)
    The function __devinit sa1100fb_init_fbinfo() references
    a (unknown reference) __initdata (unknown).
    If (unknown) is only used by sa1100fb_init_fbinfo then
    annotate (unknown) with a matching annotation.
    Acked-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    66564d83
sa1100fb.c 41.9 KB