summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2021-01-12 04:38:04 +0300
committerVinod Koul <vkoul@kernel.org>2021-01-13 17:14:07 +0300
commit6d54623a5627569503082bbbeb6f475f3cbabf1a (patch)
tree0a95fce486588a9725732be3e23509b549147351 /drivers/phy
parentdc8423a879b169e992e9abc3b00ba4e6c53783ab (diff)
downloadlinux-6d54623a5627569503082bbbeb6f475f3cbabf1a.tar.xz
phy: mediatek: Mark mtk_mipi_tx_driver with static keyword
Fix the following sparse warning: drivers/phy/mediatek/phy-mtk-mipi-dsi.c:237:24: warning: symbol 'mtk_mipi_tx_driver' was not declared. Should it be static? Signed-off-by: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1610415484-92497-1-git-send-email-zou_wei@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/mediatek/phy-mtk-mipi-dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
index 18c481251f04..eeb357bfb0bb 100644
--- a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
+++ b/drivers/phy/mediatek/phy-mtk-mipi-dsi.c
@@ -234,7 +234,7 @@ static const struct of_device_id mtk_mipi_tx_match[] = {
{ },
};
-struct platform_driver mtk_mipi_tx_driver = {
+static struct platform_driver mtk_mipi_tx_driver = {
.probe = mtk_mipi_tx_probe,
.remove = mtk_mipi_tx_remove,
.driver = {