aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6
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
commite2b75c370e0e0fa5e8a558d9bd5b034fa9ebe829 (patch)
tree41665f18fb89561ae5ef8cd4a5d15e4b1e89af48 /target/linux/adm5120-2.6
parentd700970b00e10c9d23504130168e505595cc7cc8 (diff)
downloadupstream-e2b75c370e0e0fa5e8a558d9bd5b034fa9ebe829.tar.gz
upstream-e2b75c370e0e0fa5e8a558d9bd5b034fa9ebe829.tar.bz2
upstream-e2b75c370e0e0fa5e8a558d9bd5b034fa9ebe829.zip
Fix the section mismatch on the serial driver (#2076), thanks Thomas !
SVN-Revision: 7967
Diffstat (limited to 'target/linux/adm5120-2.6')
-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) =