• X
    gianfar: Fix the section mismatch warnings. · 898157ed
    Xiubo Li 提交于
    Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the following
    WARNING is occured:
    
      LD      drivers/net/built-in.o
    WARNING: drivers/net/built-in.o(.text+0xcd4c): Section mismatch in
    reference from the function gfar_probe() to the function
    .init.text:gfar_init_addr_hash_table()
    The function gfar_probe() references
    the function __init gfar_init_addr_hash_table().
    This is often because gfar_probe lacks a __init
    annotation or the annotation of gfar_init_addr_hash_table is wrong.
    Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    898157ed
gianfar.c 90.2 KB