Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b6a81f4 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher
Browse files

drm/amdgpu: use designated initialiser for thermal_irq_src.



This fixes the 0-day build warning.

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bf3486fd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -124,9 +124,9 @@ static int phm_ctf_irq(void *private_data,
}

static const struct cgs_irq_src_funcs thermal_irq_src[3] = {
	{NULL, phm_thermal_l2h_irq},
	{NULL, phm_thermal_h2l_irq},
	{NULL, phm_ctf_irq}
	{ .handler = phm_thermal_l2h_irq },
	{ .handler = phm_thermal_h2l_irq },
	{ .handler = phm_ctf_irq }
};

int hwmgr_early_init(struct pp_instance *handle)