summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-05-13 15:31:42 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-05-13 15:31:42 +0000
commit679b6a0722f83fdaac843566fedc8635e2761be1 (patch)
treefb0b4c2e4419978dc30cc1b5eaf41cb1756d35db
parentabd74f86b459f4ac684de4a0f1bf6552d14b105a (diff)
downloadmtk-20170518-679b6a0722f83fdaac843566fedc8635e2761be1.zip
mtk-20170518-679b6a0722f83fdaac843566fedc8635e2761be1.tar.gz
mtk-20170518-679b6a0722f83fdaac843566fedc8635e2761be1.tar.bz2
amazon: fix section mismatch
SVN-Revision: 31707
-rw-r--r--target/linux/amazon/files/drivers/tty/serial/amazon_asc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/amazon/files/drivers/tty/serial/amazon_asc.c b/target/linux/amazon/files/drivers/tty/serial/amazon_asc.c
index 4492086..bb2dd72 100644
--- a/target/linux/amazon/files/drivers/tty/serial/amazon_asc.c
+++ b/target/linux/amazon/files/drivers/tty/serial/amazon_asc.c
@@ -666,7 +666,7 @@ static struct uart_driver amazonasc_reg = {
.cons = &amazonasc_console,
};
-static int __init amazon_asc_probe(struct platform_device *dev)
+static int amazon_asc_probe(struct platform_device *dev)
{
unsigned char res;
uart_register_driver(&amazonasc_reg);