drm/amdgpu/swsmu: make sienna cichlid function static
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Jan 2022 21:24:17 +0000 (16:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:13 +0000 (17:51 -0500)
Unused outside of the file.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c

index 777f717..d8c57b7 100644 (file)
@@ -3832,9 +3832,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;