drm/amd/display: make retrieve_dmi_info() static
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amd/display: make retrieve_dmi_info() static
It's not used outside of amdgpu_dm.c.
Reported-by kernel test robot <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -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;
Signature · 1 line
2.35.3
[AMD Official Use Only - General]
Reviewed-by Evan Quan <[email protected]>
Quoted 34 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Wednesday, July 13, 2022 11:21 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amd/display: makeretrieve_dmi_info()staticIt's not used outside of
amdgpu_dm.c.Reported-by kernel test robot <[email protected]>Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1
-2@@ -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