aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0754-drm-amd-display-dc-make-dce120_link_encoder_create-s.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0754-drm-amd-display-dc-make-dce120_link_encoder_create-s.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0754-drm-amd-display-dc-make-dce120_link_encoder_create-s.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0754-drm-amd-display-dc-make-dce120_link_encoder_create-s.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0754-drm-amd-display-dc-make-dce120_link_encoder_create-s.patch
new file mode 100644
index 00000000..7960745b
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0754-drm-amd-display-dc-make-dce120_link_encoder_create-s.patch
@@ -0,0 +1,31 @@
+From 349735b7190cb6dc50fb9254d8178bba7a76030d Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexdeucher@gmail.com>
+Date: Thu, 10 Aug 2017 14:22:22 -0400
+Subject: [PATCH 0754/4131] drm/amd/display/dc: make dce120_link_encoder_create
+ static
+
+Only used in dce120_resource.c.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Harry Wentland <harry.wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
+index 6448d15..d4e9627 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
++++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
+@@ -535,7 +535,7 @@ static const struct encoder_feature_support link_enc_feature = {
+ .flags.bits.IS_YCBCR_CAPABLE = true
+ };
+
+-struct link_encoder *dce120_link_encoder_create(
++static struct link_encoder *dce120_link_encoder_create(
+ const struct encoder_init_data *enc_init_data)
+ {
+ struct dce110_link_encoder *enc110 =
+--
+2.7.4
+