Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phy: mediatek: statify mtk_hdmi_phy_driver
@ 2020-12-05  9:11 Vinod Koul
  2020-12-05 16:21 ` Chun-Kuang Hu
  0 siblings, 1 reply; 2+ messages in thread
From: Vinod Koul @ 2020-12-05  9:11 UTC (permalink / raw)
  To: Kishon Vijay Abraham I
  Cc: Chun-Kuang Hu, linux-kernel, dri-devel, Matthias Brugger,
	Vinod Koul, linux-mediatek, Philipp Zabel, Chunfeng Yun,
	linux-arm-kernel

mtk_hdmi_phy_driver is not declared as static, so statify it.

drivers/phy/mediatek/phy-mtk-hdmi.c:204:24: warning: symbol 'mtk_hdmi_phy_driver' was not declared. Should it be static?

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/phy/mediatek/phy-mtk-hdmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.c b/drivers/phy/mediatek/phy-mtk-hdmi.c
index 47c029d4b270..c5c61f5a9ea0 100644
--- a/drivers/phy/mediatek/phy-mtk-hdmi.c
+++ b/drivers/phy/mediatek/phy-mtk-hdmi.c
@@ -201,7 +201,7 @@ static const struct of_device_id mtk_hdmi_phy_match[] = {
 	{},
 };
 
-struct platform_driver mtk_hdmi_phy_driver = {
+static struct platform_driver mtk_hdmi_phy_driver = {
 	.probe = mtk_hdmi_phy_probe,
 	.driver = {
 		.name = "mediatek-hdmi-phy",
-- 
2.26.2


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

end of thread, other threads:[~2020-12-05 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-05  9:11 [PATCH] phy: mediatek: statify mtk_hdmi_phy_driver Vinod Koul
2020-12-05 16:21 ` Chun-Kuang Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox