Fix undefined reference to `txx9_sio_kdbg_rd' when CONFIG_KGDB_8250=y, CONFIG_KGDB_8250=n. Signed-off-by: Geoff Levand <geoffrey.levand@xxxxxxxxxxx> Index: linux-2.6.16.1/arch/mips/tx4938/common/Makefile =================================================================== --- linux-2.6.16.1.orig/arch/mips/tx4938/common/Makefile 2006-01-02 19:21:10.000000000 -0800 +++ linux-2.6.16.1/arch/mips/tx4938/common/Makefile 2006-03-07 11:05:05.000000000 -0800 @@ -7,5 +7,5 @@ # obj-y += prom.o setup.o irq.o irq_handler.o rtc_rx5c348.o -obj-$(CONFIG_KGDB) += dbgio.o +obj-$(CONFIG_KGDB_8250) += dbgio.o