From: Florian Fainelli Date: Fri, 13 Jul 2007 13:14:08 +0000 (+0000) Subject: Fix the section mismatch on the serial driver (#2076), thanks Thomas ! X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e2b75c370e0e0fa5e8a558d9bd5b034fa9ebe829;p=openwrt%2Fstaging%2Fmans0n.git Fix the section mismatch on the serial driver (#2076), thanks Thomas ! SVN-Revision: 7967 --- diff --git a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c index 8a2adaa9c4..83c5f72012 100644 --- a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c +++ b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c @@ -433,7 +433,7 @@ static void adm5120console_write(struct console *con, const char *s, } } -static int __init adm5120console_setup(struct console *con, char *options) +static int adm5120console_setup(struct console *con, char *options) { /* Set to 115200 baud, 8N1 and enable FIFO */ ADM5120_UART_REG(ADM5120_UART0_BASE, ADM5120_UART_LCR_L) =