[MIPS] RM: fix EISA=n compilation
authorAdrian Bunk <bunk@kernel.org>
Sun, 17 Feb 2008 21:59:48 +0000 (23:59 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Feb 2008 17:01:34 +0000 (17:01 +0000)
commitb991b590dc2e54447644d34226dc355b7b6e2337
tree0085cc89b799cbb2701f0174e81e136c141ec450
parent40d7c1aa6153605b3eae23990d4c2d4e8f807cb0
[MIPS] RM: fix EISA=n compilation

This patch fixes the following build error with CONFIG_EISA=n caused by
commit 231a35d37293ab88d325a9cb94e5474c156282c0:

<--  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: Adrian Bunk <bunk@kernel.org>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/sni.h