[PATCH -next] drm/mediatek: dp: change mtk_dp_driver to static
Dmitry Osipenko
dmitry.osipenko at collabora.com
Thu Sep 15 02:03:56 PDT 2022
On 9/13/22 16:49, Yang Yingliang wrote:
> mtk_dp_driver is only used in mtk_dp.c now, change it
> to static.
>
> Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
> ---
> drivers/gpu/drm/mediatek/mtk_dp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b/drivers/gpu/drm/mediatek/mtk_dp.c
> index dfa942ca62da..6a8c0f4c5c09 100644
> --- a/drivers/gpu/drm/mediatek/mtk_dp.c
> +++ b/drivers/gpu/drm/mediatek/mtk_dp.c
> @@ -2642,7 +2642,7 @@ static const struct of_device_id mtk_dp_of_match[] = {
> };
> MODULE_DEVICE_TABLE(of, mtk_dp_of_match);
>
> -struct platform_driver mtk_dp_driver = {
> +static struct platform_driver mtk_dp_driver = {
> .probe = mtk_dp_probe,
> .remove = mtk_dp_remove,
> .driver = {
Reviewed-by: Dmitry Osipenko <dmitry.osipenko at collabora.com>
--
Best regards,
Dmitry
More information about the Linux-mediatek
mailing list