aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-13 13:14:08 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-13 13:14:08 +0000
commit622fef001eaae565b510f2559347f18aca692f09 (patch)
tree6188ca275ab0653e335e74ea31098bcc9bae2a79 /target/linux/adm5120-2.6/files
parent5d76aa75cde661fc64d27d1d71e595ddd0b86bc1 (diff)
downloadupstream-622fef001eaae565b510f2559347f18aca692f09.tar.gz
upstream-622fef001eaae565b510f2559347f18aca692f09.tar.bz2
upstream-622fef001eaae565b510f2559347f18aca692f09.zip
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
Diffstat (limited to 'target/linux/adm5120-2.6/files')
-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 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) =