aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSongjun Wu <songjun.wu@linux.intel.com>2018-10-16 17:19:14 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-09 08:43:27 -0800
commit40efa6c8f648c2cf28c0593164bd4993580bde87 (patch)
tree35efe0442319903f424ffb97af0c46c09a008c93
parentserial: lantiq: Replace lantiq_soc.h with lantiq.h (diff)
downloadlinux-dev-40efa6c8f648c2cf28c0593164bd4993580bde87.tar.xz
linux-dev-40efa6c8f648c2cf28c0593164bd4993580bde87.zip
serial: lantiq: Change init_lqasc to static declaration
init_lqasc() is only used internally, change to static declaration. Signed-off-by: Songjun Wu <songjun.wu@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/lantiq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
index ba0c70b16bda..e052b69ceb98 100644
--- a/drivers/tty/serial/lantiq.c
+++ b/drivers/tty/serial/lantiq.c
@@ -784,7 +784,7 @@ static struct platform_driver lqasc_driver = {
},
};
-int __init
+static int __init
init_lqasc(void)
{
int ret;