• Sam Ravnborg's avatar
    isdn: fix section mismatch warnings · 162dd3b9
    Sam Ravnborg authored
    Fix the following section mismatch warnings:
    
    WARNING: drivers/isdn/hardware/eicon/divadidd.o(.init.text+0xc4): Section mismatch: reference to .exit.text: (between 'init_module' and 'diddfunc_init')
    WARNING: drivers/isdn/hardware/eicon/divas.o(.init.text+0xf4): Section mismatch: reference to .exit.text:divasfunc_exit (between 'init_module' and 'divasfunc_init')
    WARNING: drivers/isdn/hardware/eicon/divas.o(.init.text+0x10d): Section mismatch: reference to .exit.text:divasfunc_exit (between 'init_module' and 'divasfunc_init')
    WARNING: drivers/isdn/hardware/eicon/divas.o(.init.text+0x148): Section mismatch: reference to .exit.text:divasfunc_exit (between 'init_module' and 'divasfunc_init')
    
    They all point to situation whare a function marked __init calls a function
    marked __exit - but the __exit section may have been discarded.
    
    Note: This warning is generated by a modified copy of modpost in my
          tree. It will soon hit upstearm.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Karsten Keil <kkeil@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    162dd3b9
diva_didd.c 3.44 KB