projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
754270c
)
drm/amdgpu: use designated initialiser for thermal_irq_src.
author
Dave Airlie
<airlied@redhat.com>
Thu, 28 Sep 2017 06:12:28 +0000
(16:12 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 1 Oct 2017 01:27:41 +0000
(11:27 +1000)
This fixes the 0-day build warning.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
index 73969f35846ce17843d0a2baac4e4659dc33ce85..35e80c969737fa0646a1b045c8cecaf1ed23630d 100644
(file)
--- 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,
}
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)