Commit 6d54623a authored by Zou Wei's avatar Zou Wei Committed by Vinod Koul

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: default avatarZou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1610415484-92497-1-git-send-email-zou_wei@huawei.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent dc8423a8
...@@ -234,7 +234,7 @@ static const struct of_device_id mtk_mipi_tx_match[] = { ...@@ -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, .probe = mtk_mipi_tx_probe,
.remove = mtk_mipi_tx_remove, .remove = mtk_mipi_tx_remove,
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment