diff mbox series

[-next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static

Message ID 20220707135309.801181-1-yangyingliang@huawei.com
State Accepted
Commit 08fd292fdffcf5fbca6301ff43aa1ad3cf9d69da
Headers show
Series [-next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static | expand

Commit Message

Yang Yingliang July 7, 2022, 1:53 p.m. UTC
mtk_dp_phy_driver is only used in phy-mtk-dp.c now, change it to static.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/phy/mediatek/phy-mtk-dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vinod Koul July 8, 2022, 5:14 a.m. UTC | #1
On 07-07-22, 21:53, Yang Yingliang wrote:
> mtk_dp_phy_driver is only used in phy-mtk-dp.c now, change it to static.

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/phy/mediatek/phy-mtk-dp.c b/drivers/phy/mediatek/phy-mtk-dp.c
index 715bd2336c17..31266e7ca324 100644
--- a/drivers/phy/mediatek/phy-mtk-dp.c
+++ b/drivers/phy/mediatek/phy-mtk-dp.c
@@ -189,7 +189,7 @@  static int mtk_dp_phy_probe(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver mtk_dp_phy_driver = {
+static struct platform_driver mtk_dp_phy_driver = {
 	.probe = mtk_dp_phy_probe,
 	.driver = {
 		.name = "mediatek-dp-phy",