[PATCH -next] drm/mediatek: dp: change mtk_dp_driver to static
Chun-Kuang Hu
chunkuang.hu at kernel.org
Sun Sep 18 03:56:23 UTC 2022
Hi, Dmity:
My tree has no mtk dp driver yet. Would you like to pick this patch?
Acked-by: Chun-Kuang Hu <chunkuang.hu at kernel.org>
Dmitry Osipenko <dmitry.osipenko at collabora.com> 於 2022年9月15日 週四 下午5:04寫道:
>
> 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 dri-devel
mailing list