diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2409-amdgpu-dc-add-static-to-construct-function.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2409-amdgpu-dc-add-static-to-construct-function.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2409-amdgpu-dc-add-static-to-construct-function.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2409-amdgpu-dc-add-static-to-construct-function.patch new file mode 100644 index 00000000..9eb8ab61 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2409-amdgpu-dc-add-static-to-construct-function.patch @@ -0,0 +1,29 @@ +From 9c0612cdfe1c978a5e75712a4122f9df3603e4f0 Mon Sep 17 00:00:00 2001 +From: Dave Airlie <airlied@redhat.com> +Date: Thu, 28 Sep 2017 09:21:33 +1000 +Subject: [PATCH 2409/4131] amdgpu/dc: add static to construct function + +There was a global construct symbol in the module symbols, kill it. + +Signed-off-by: Dave Airlie <airlied@redhat.com> +Reviewed-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c b/drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c +index a6c3a72..5c55896 100644 +--- a/drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c ++++ b/drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c +@@ -406,7 +406,7 @@ static const struct irq_service_funcs irq_service_funcs_dce110 = { + .to_dal_irq_source = to_dal_irq_source_dce110 + }; + +-bool construct( ++static bool construct( + struct irq_service *irq_service, + struct irq_service_init_data *init_data) + { +-- +2.7.4 + |