mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
4b00951f6f
This fixes a redefinition of clk_*: arch/mips/loongson1/common/clock.c:23:13: error: redefinition of 'clk_get' include/linux/clk.h:281:27: note: previous definition of 'clk_get' was here arch/mips/loongson1/common/clock.c:41:15: error: redefinition of 'clk_get_rate' include/linux/clk.h:302:29: note: previous definition of 'clk_get_rate' was here make[3]: *** [arch/mips/loongson1/common/clock.o] Error 1 Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips@linux-mips.org Reviewed-by: John Crispin <blogic@openwrt.org> Acked-by: Kelvin Cheung <keguang.zhang@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/4143/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
23 lines
403 B
Plaintext
23 lines
403 B
Plaintext
if MACH_LOONGSON1
|
|
|
|
choice
|
|
prompt "Machine Type"
|
|
|
|
config LOONGSON1_LS1B
|
|
bool "Loongson LS1B board"
|
|
select CEVT_R4K
|
|
select CSRC_R4K
|
|
select SYS_HAS_CPU_LOONGSON1B
|
|
select DMA_NONCOHERENT
|
|
select BOOT_ELF32
|
|
select IRQ_CPU
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select SYS_SUPPORTS_LITTLE_ENDIAN
|
|
select SYS_SUPPORTS_HIGHMEM
|
|
select SYS_HAS_EARLY_PRINTK
|
|
select HAVE_CLK
|
|
|
|
endchoice
|
|
|
|
endif # MACH_LOONGSON1
|