From: Hauke Mehrtens Date: Sun, 13 May 2012 15:31:42 +0000 (+0000) Subject: amazon: fix section mismatch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=679b6a0722f83fdaac843566fedc8635e2761be1;p=openwrt%2Fstaging%2Frmilecki.git amazon: fix section mismatch SVN-Revision: 31707 --- 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 449208616bd..bb2dd722221 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);