[PATCH] drm/amd/display: make retrieve_dmi_info() static

Quan, Evan Evan.Quan at amd.com
Thu Jul 14 09:44:24 UTC 2022


[AMD Official Use Only - General]

Reviewed-by: Evan Quan <evan.quan at amd.com>

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex
> Deucher
> Sent: Wednesday, July 13, 2022 11:21 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; kernel test robot
> <lkp at intel.com>
> Subject: [PATCH] drm/amd/display: make retrieve_dmi_info() static
> 
> It's not used outside of amdgpu_dm.c.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 21aec55abd1a..c03f300851fa 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -1446,7 +1446,7 @@ static const struct dmi_system_id
> hpd_disconnect_quirk_table[] = {
>  	{}
>  };
> 
> -void retrieve_dmi_info(struct amdgpu_display_manager *dm)
> +static void retrieve_dmi_info(struct amdgpu_display_manager *dm)
>  {
>  	const struct dmi_system_id *dmi_id;
> 
> --
> 2.35.3


More information about the amd-gfx mailing list