summaryrefslogtreecommitdiffstats
path: root/target/linux/amazon/files/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/amazon/files/drivers')
-rw-r--r--target/linux/amazon/files/drivers/serial/amazon_asc.c8
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 fe7050c79..a32d97918 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",