Skip to content

Commit e09523a

Browse files
Yang Yingliangdigetx
authored andcommitted
drm/mediatek: dp: change mtk_dp_driver to static
mtk_dp_driver is only used in mtk_dp.c now, change it to static. Fixes: f70ac09 ("drm/mediatek: Add MT8195 Embedded DisplayPort driver") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Acked-by: Chun-Kuang Hu <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1637c31 commit e09523a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/mediatek/mtk_dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ static const struct of_device_id mtk_dp_of_match[] = {
26442644
};
26452645
MODULE_DEVICE_TABLE(of, mtk_dp_of_match);
26462646

2647-
struct platform_driver mtk_dp_driver = {
2647+
static struct platform_driver mtk_dp_driver = {
26482648
.probe = mtk_dp_probe,
26492649
.remove = mtk_dp_remove,
26502650
.driver = {

0 commit comments

Comments
 (0)