• Randy Dunlap's avatar
    [PATCH] smc ethernet: fix section mismatch warnings · a2bd2ec8
    Randy Dunlap authored
    Priority: not critical; makes init code discardable.
    Removes one duplicate assignment.
    
    Fix section mismatch warnings:
    WARNING: drivers/net/smc-ultra.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x369) and 'cleanup_card'
    WARNING: drivers/net/smc-ultra32.o - Section mismatch: reference to .init.text:ultra32_probe from .text between 'init_module' (at offset 0x254) and 'cleanup_module'
    WARNING: drivers/net/smc9194.o - Section mismatch: reference to .init.text:smc_init from .text between 'init_module' (at offset 0x997) and 'cleanup_module'
    WARNING: drivers/net/smc9194.o - Section mismatch: reference to .init.data: from .data between 'smcdev.0' (at offset 0x44) and '__param_str_io'
    Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    a2bd2ec8
smc-ultra.c 18.5 KB