summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-13 13:14:08 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-13 13:14:08 +0000
commit188357d5dd61a78d1dd63b40f028c5a9a07a7ad8 (patch)
tree6188ca275ab0653e335e74ea31098bcc9bae2a79
parent6e6b5f7bc963502d3bdacc8a21db57e706183add (diff)
Fix the section mismatch on the serial driver (#2076), thanks Thomas !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7967 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c2
1 files changed, 1 insertions, 1 deletions
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 8a2adaa9c..83c5f7201 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) =