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

Alex Deucher alexander.deucher at amd.com
Wed Jul 13 15:21:24 UTC 2022


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