diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1925-drm-amdgpu-use-designated-initialiser-for-thermal_ir.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1925-drm-amdgpu-use-designated-initialiser-for-thermal_ir.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1925-drm-amdgpu-use-designated-initialiser-for-thermal_ir.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1925-drm-amdgpu-use-designated-initialiser-for-thermal_ir.patch new file mode 100644 index 00000000..ec206b00 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1925-drm-amdgpu-use-designated-initialiser-for-thermal_ir.patch @@ -0,0 +1,35 @@ +From 498bc512f11f4d9645973902310abdd6adb31602 Mon Sep 17 00:00:00 2001 +From: Dave Airlie <airlied@redhat.com> +Date: Thu, 28 Sep 2017 16:12:28 +1000 +Subject: [PATCH 1925/4131] 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> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 +++--- + 1 file 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 ebc3a81..ce59e0e 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, + } + + 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) +-- +2.7.4 + |