• Randy Dunlap's avatar
    [PATCH] trident fb section fixes · 474ab45a
    Randy Dunlap authored
    
    
    Priority: not critical.
    Change 3 functions from __init to __devinit.
    Could be an init/probe problem in theory, but not observed, so not
    high priority IMO.
    
    Fix section mismatch warnings:
    WARNING: drivers/video/tridentfb.o - Section mismatch: reference to .init.text: from .text between 'trident_pci_probe' (at offset 0x1aad) and 'trident_pci_remove'
    WARNING: drivers/video/tridentfb.o - Section mismatch: reference to .init.text: from .text between 'trident_pci_probe' (at offset 0x1b22) and 'trident_pci_remove'
    WARNING: drivers/video/tridentfb.o - Section mismatch: reference to .init.text: from .text between 'trident_pci_probe' (at offset 0x1b31) and 'trident_pci_remove'
    Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    474ab45a
tridentfb.c 30.9 KB