[PATCH -next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static
Yang Yingliang
yangyingliang at huawei.com
Thu Jul 7 13:53:09 UTC 2022
mtk_dp_phy_driver is only used in phy-mtk-dp.c now, change it to static.
Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
---
drivers/phy/mediatek/phy-mtk-dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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",
--
2.25.1
More information about the dri-devel
mailing list