make amdgpu_mode_hotplug() static

only used inside the same source file, so better make it static,
so we also get rid of missing prototype warning.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-04 13:28:40 +02:00
committed by Joseph Crowell
parent 7d87cd5b64
commit 54e52ecf82

View File

@@ -3646,7 +3646,7 @@ drmmode_find_output(ScrnInfoPtr scrn, int output_id, int *num_dvi,
return FALSE;
}
void
static void
amdgpu_mode_hotplug(ScrnInfoPtr scrn, drmmode_ptr drmmode)
{
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);