mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user