linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static
@ 2022-07-07 13:53 Yang Yingliang
  2022-07-08  5:14 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2022-07-07 13:53 UTC (permalink / raw)
  To: linux-kernel, linux-phy, linux-arm-kernel, linux-mediatek,
	dri-devel
  Cc: msp, vkoul, chunkuang.hu

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(-)

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static
  2022-07-07 13:53 [PATCH -next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static Yang Yingliang
@ 2022-07-08  5:14 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2022-07-08  5:14 UTC (permalink / raw)
  To: Yang Yingliang
  Cc: linux-kernel, linux-phy, linux-arm-kernel, linux-mediatek,
	dri-devel, msp, chunkuang.hu

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

-- 
~Vinod

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-08  5:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07 13:53 [PATCH -next] phy: phy-mtk-dp: change mtk_dp_phy_driver to static Yang Yingliang
2022-07-08  5:14 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).