• Randy Dunlap's avatar
    pata_it821x: fix section mismatch warning · 112cc2b5
    Randy Dunlap authored
    Fix section mismatch when CONFIG_HOTPLUG=n (but functions are used
    for resume):
    
    WARNING: drivers/ata/pata_it821x.o(.text+0x3f): Section mismatch: reference to .init.text: (between 'it821x_reinit_one' and 'it821x_program_udma')
    WARNING: drivers/ata/pata_it821x.o(.text+0x691): Section mismatch: reference to .init.text: (between 'it821x_init_one' and 'it821x_passthru_set_dmamode')
    Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    112cc2b5
pata_it821x.c 22.7 KB