[PATCH] drm/amdgpu/swsmu: make sienna cichlid function static

Quan, Evan Evan.Quan at amd.com
Thu Jan 13 01:37:27 UTC 2022


[AMD Official Use Only]

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: Thursday, January 13, 2022 5:26 AM
> 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/amdgpu/swsmu: make sienna cichlid function static
> 
> Unused outside of the file.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> b/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> index 9766870987db..4e37cd8025ed 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
> @@ -3810,9 +3810,9 @@ static void sienna_cichlid_stb_init(struct
> smu_context *smu)
> 
>  }
> 
> -int sienna_cichlid_stb_get_data_direct(struct smu_context *smu,
> -				       void *buf,
> -				       uint32_t size)
> +static int sienna_cichlid_stb_get_data_direct(struct smu_context *smu,
> +					      void *buf,
> +					      uint32_t size)
>  {
>  	uint32_t *p = buf;
>  	struct amdgpu_device *adev = smu->adev;
> --
> 2.34.1


More information about the amd-gfx mailing list