Skip to contentSkip to conversation

cobalt: select PCI

PATCH New Yoichi Yuasa 1 participant 1 message Aug 21, 2008 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cobalt: select PCI

cobalt_board_id is indispensable for Cobalt server. It's depend on PCI.

arch/mips/cobalt/built-in.o: In function `cobalt_led_add':
led.c:(.init.text+0x1a4): undefined reference to `cobalt_board_id'
led.c:(.init.text+0x1a8): undefined reference to cobalt_board_id' arch/mips/cobalt/built-in.o: In function cobalt_uart_add':
serial.c:(.init.text+0x334): undefined reference to cobalt_board_id' serial.c:(.init.text+0x338): undefined reference to cobalt_board_id' arch/mips/cobalt/built-in.o: In function `get_system_type':
(.text.get_system_type+0x0): undefined reference to cobalt_board_id' arch/mips/cobalt/built-in.o:(.text.get_system_type+0x4): more undefined references to cobalt_board_id' follow
make: *** [vmlinux] Error 1

arch/mips/Kconfig +1 -0
diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/arch/mips/Kconfig linux/arch/mips/Kconfig
@@ -71,6 +71,7 @@ config MIPS_COBALT
 	select IRQ_CPU
 	select IRQ_GT641XX
 	select PCI_GT64XXX_PCI0
+	select PCI
 	select SYS_HAS_CPU_NEVADA
 	select SYS_HAS_EARLY_PRINTK
 	select SYS_SUPPORTS_32BIT_KERNEL