aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-08-31 09:34:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-08-31 09:34:07 +0000
commitcb60c50a403c1c6f12c3b5239270efc418c36c75 (patch)
treea6f8a9ac2fccba377eaccdff327005a541de59bb /target/linux/ramips
parent2d06d3427a91aeebd1456138b8dfaf794094a2df (diff)
downloadupstream-cb60c50a403c1c6f12c3b5239270efc418c36c75.tar.gz
upstream-cb60c50a403c1c6f12c3b5239270efc418c36c75.tar.bz2
upstream-cb60c50a403c1c6f12c3b5239270efc418c36c75.zip
[ramips] rt288x: fix serial console
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17450 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c4
1 files changed, 0 insertions, 4 deletions
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)
{