diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-28 02:12:28 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-09-30 21:27:41 -0400 |
commit | 659333de48268550b5f09fcd45f76459d737b946 (patch) | |
tree | 37ec3f3961e87f62d128790464ae2653a0530a4c | |
parent | 754270c7c56292e97d0eff924a5d5d83f92add07 (diff) |
drm/amdgpu: use designated initialiser for thermal_irq_src.
This fixes the 0-day build warning.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c index 73969f35846c..35e80c969737 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | |||
@@ -124,9 +124,9 @@ static int phm_ctf_irq(void *private_data, | |||
124 | } | 124 | } |
125 | 125 | ||
126 | static const struct cgs_irq_src_funcs thermal_irq_src[3] = { | 126 | static const struct cgs_irq_src_funcs thermal_irq_src[3] = { |
127 | {NULL, phm_thermal_l2h_irq}, | 127 | { .handler = phm_thermal_l2h_irq }, |
128 | {NULL, phm_thermal_h2l_irq}, | 128 | { .handler = phm_thermal_h2l_irq }, |
129 | {NULL, phm_ctf_irq} | 129 | { .handler = phm_ctf_irq } |
130 | }; | 130 | }; |
131 | 131 | ||
132 | int hwmgr_early_init(struct pp_instance *handle) | 132 | int hwmgr_early_init(struct pp_instance *handle) |