]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
serial: lantiq: Change init_lqasc to static declaration
authorSongjun Wu <songjun.wu@linux.intel.com>
Tue, 16 Oct 2018 09:19:14 +0000 (17:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 16:43:27 +0000 (08:43 -0800)
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>
drivers/tty/serial/lantiq.c

index ba0c70b16bda915e55ae16b8bc7b67dd8e178d3c..e052b69ceb9850ae8d3d095c598f342276f3794d 100644 (file)
@@ -784,7 +784,7 @@ static struct platform_driver lqasc_driver = {
        },
 };
 
-int __init
+static int __init
 init_lqasc(void)
 {
        int ret;