From: Gabor Juhos Date: Mon, 31 Aug 2009 09:34:07 +0000 (+0000) Subject: rt288x: fix serial console X-Git-Tag: reboot~22535 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f62337417ceb9e2982ebce30dc622decff746947;p=openwrt%2Fstaging%2Fpepe2k.git rt288x: fix serial console SVN-Revision: 17450 --- diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c index d19105f546..d0258524cc 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c @@ -57,7 +57,6 @@ static void __init rt288x_detect_mem_size(void) add_memory_region(RT2880_SDRAM_BASE, size, BOOT_MEM_RAM); } -#ifdef CONFIG_RT288X_EARLY_SERIAL static void __init rt288x_early_serial_setup(void) { struct uart_port p; @@ -90,9 +89,6 @@ static void __init rt288x_early_serial_setup(void) printk(KERN_ERR "RT288x: early UART1 registration failed %d\n", err); } -#else -static inline void rt288x_early_serial_setup(void) {}; -#endif /* CONFIG_RT288X_EARLY_SERIAL */ const char *get_system_type(void) {