[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210401074919.56573-1-zhengzucheng@huawei.com>
Date: Thu, 1 Apr 2021 15:49:19 +0800
From: Zucheng Zheng <zhengzucheng@...wei.com>
To: <alcooperx@...il.com>, <gregkh@...uxfoundation.org>,
<jirislaby@...nel.org>
CC: <linux-serial@...r.kernel.org>,
<bcm-kernel-feedback-list@...adcom.com>,
<linux-kernel@...r.kernel.org>, <hucool.lihua@...wei.com>
Subject: [PATCH -next] serial: 8250: Make symbol 'brcmuart_debugfs_root' static
symbol 'brcmuart_debugfs_root' is not used outside of 8250_bcm7271.c,
so this commit marks it static.
Signed-off-by: Zucheng Zheng <zhengzucheng@...wei.com>
---
drivers/tty/serial/8250/8250_bcm7271.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c
index 63883185fccd..ebba7f2e960c 100644
--- a/drivers/tty/serial/8250/8250_bcm7271.c
+++ b/drivers/tty/serial/8250/8250_bcm7271.c
@@ -239,7 +239,7 @@ struct brcmuart_priv {
u32 rx_abort;
};
-struct dentry *brcmuart_debugfs_root;
+static struct dentry *brcmuart_debugfs_root;
/*
* Register access routines
--
2.17.1
Powered by blists - more mailing lists