• Adrian Bunk's avatar
    [MIPS] RM: fix EISA=n compilation · b991b590
    Adrian Bunk authored
    This patch fixes the following build error with CONFIG_EISA=n caused by
    commit 231a35d3:
    
    <--  snip -->
    
    ...
      LD      .tmp_vmlinux1
    arch/mips/sni/built-in.o: In function `snirm_a20r_setup_devinit':
    a20r.c:(.init.text+0x42c): undefined reference to `sni_eisa_root_init'
    a20r.c:(.init.text+0x42c): relocation truncated to fit: R_MIPS_26 against `sni_eisa_root_init'
    arch/mips/sni/built-in.o: In function `snirm_setup_devinit':
    rm200.c:(.init.text+0x52c): undefined reference to `sni_eisa_root_init'
    rm200.c:(.init.text+0x52c): relocation truncated to fit: R_MIPS_26 against `sni_eisa_root_init'
    make[1]: *** [.tmp_vmlinux1] Error 1
    
    <--  snip  -->
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Acked-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    b991b590
sni.h 7.51 KB