serial: 8250: Make symbol 'brcmuart_debugfs_root' static
authorZucheng Zheng <zhengzucheng@huawei.com>
Thu, 1 Apr 2021 07:49:19 +0000 (15:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Apr 2021 14:12:27 +0000 (16:12 +0200)
symbol 'brcmuart_debugfs_root' is not used outside of 8250_bcm7271.c,
so this commit marks it static.

Signed-off-by: Zucheng Zheng <zhengzucheng@huawei.com>
Link: https://lore.kernel.org/r/20210401074919.56573-1-zhengzucheng@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_bcm7271.c

index a4f3f63..725a450 100644 (file)
@@ -239,7 +239,7 @@ struct brcmuart_priv {
        u32             rx_abort;
 };
 
-struct dentry *brcmuart_debugfs_root;
+static struct dentry *brcmuart_debugfs_root;
 
 /*
  * Register access routines