Re: [PATCH -next] drm/mediatek: dp: change mtk_dp_driver to static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxx>

-- 
Best regards,
Dmitry




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux