• Helge Deller's avatar
    [PARISC] fix section mismatch in parisc STI video drivers · 48a7d5c6
    Helge Deller authored
    Hi Kyle,
    this patch fixes various section mismatches in the sti graphics driver:
    WARNING: drivers/built-in.o(.text.sticore_pci_init+0xac): Section mismatch: reference to .init.text:sti_try_rom_generic (after 'sticore_pci_init')
    WARNING: drivers/built-in.o(.text.sticore_pci_init+0xe4): Section mismatch: reference to .init.text:sticore_check_for_default_sti (after 'sticore_pci_init')
    WARNING: drivers/built-in.o(.text.sti_get_rom+0x18): Section mismatch: reference to .init.text:sti_init_roms (after 'sti_get_rom')
    (and others).
    Basically it's a replacement of __init by __devinit.
    Please apply, Helge
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
sticore.c 25.7 KB