Skip to content

Commit

Permalink
drm/amdgpu: use designated initialiser for thermal_irq_src.
Browse files Browse the repository at this point in the history
This fixes the 0-day build warning.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Oct 1, 2017
1 parent 754270c commit 659333d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 659333d

Please sign in to comment.