]> Git Repo - linux.git/commitdiff
serial: 8250: Make symbol 'brcmuart_debugfs_root' static
authorZucheng Zheng <[email protected]>
Thu, 1 Apr 2021 07:49:19 +0000 (15:49 +0800)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/8250/8250_bcm7271.c

index a4f3f6301d4fb113d7f64cb6ea3c5d389df319c0..725a450058f88d56a22f1189877ede39cccfb239 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
This page took 0.055972 seconds and 4 git commands to generate.