phy: mediatek: statify mtk_hdmi_phy_driver
authorVinod Koul <vkoul@kernel.org>
Sat, 5 Dec 2020 09:11:46 +0000 (14:41 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Dec 2020 04:49:22 +0000 (10:19 +0530)
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?

Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Link: https://lore.kernel.org/r/20201205091146.3184305-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-hdmi.c

index 47c029d4b270bbc7b558517374aaffcf5df69feb..c5c61f5a9ea04c9c9098b66964606e09796a7039 100644 (file)
@@ -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",