diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2010-01-31 15:13:51 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2010-01-31 15:13:51 +0000 |
commit | 0c813f94a0202ae998545ec844192ba6527a9995 (patch) | |
tree | ab25ece516472d772c19a3af6d372dc3e1b54572 /target/linux/amazon/files/drivers/serial | |
parent | 843e03a3de918aebde2a658fa78a0971cc2e8b27 (diff) | |
download | master-187ad058-0c813f94a0202ae998545ec844192ba6527a9995.tar.gz master-187ad058-0c813f94a0202ae998545ec844192ba6527a9995.tar.bz2 master-187ad058-0c813f94a0202ae998545ec844192ba6527a9995.zip |
i[amazon] use SYS_HAS_EARLY_PRINTK instead of prom_printf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19459 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/amazon/files/drivers/serial')
-rw-r--r-- | target/linux/amazon/files/drivers/serial/amazon_asc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/target/linux/amazon/files/drivers/serial/amazon_asc.c b/target/linux/amazon/files/drivers/serial/amazon_asc.c index fe7050c790..a32d979186 100644 --- a/target/linux/amazon/files/drivers/serial/amazon_asc.c +++ b/target/linux/amazon/files/drivers/serial/amazon_asc.c @@ -68,7 +68,6 @@ #define SERIAL_AMAZONASC_NR UART_NR static void amazonasc_tx_chars(struct uart_port *port); -extern void prom_printf(const char * fmt, ...); static struct uart_port amazonasc_ports[UART_NR]; static struct uart_driver amazonasc_reg; static unsigned int uartclk = 0; @@ -658,13 +657,6 @@ static struct console amazonasc_console = { data: &amazonasc_reg, }; -static int __init amazonasc_console_init(void) -{ - register_console(&amazonasc_console); - return 0; -} -console_initcall(amazonasc_console_init); - static struct uart_driver amazonasc_reg = { .owner = THIS_MODULE, .driver_name = "serial", |