aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2022-01-23 21:43:23 +0100
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2022-02-09 14:06:37 +0530
commit346b4905b3c26a71e47b10fe6ed50eedd48c9156 (patch)
treeb8eaace1cdf16a1ef2db8e459011c5d9e0e56013
parentb02cbaa21d35c58f3fdcd7cb0fe40b1377463627 (diff)
drm: add missing dependency to DRM_PANEL_EDP
With CONFIG_DRM_PANEL_EDP=y and CONFIG_DRM_KMS_HELPER=m the compilation fails: drivers/gpu/drm/panel/panel-edp.c:843: undefined reference to `drm_panel_dp_aux_backlight' Add a dependency on DRM_KMS_HELPER to fix this. Fixes: 9d6366e743f3 ("drm: fb_helper: improve CONFIG_FB dependency") Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--drivers/gpu/drm/panel/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 434c2861bb40..fda97837ecb3 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -102,6 +102,7 @@ config DRM_PANEL_SIMPLE
config DRM_PANEL_EDP
tristate "support for simple Embedded DisplayPort panels"
depends on OF
+ depends on DRM_KMS_HELPER
depends on BACKLIGHT_CLASS_DEVICE
depends on PM
select VIDEOMODE_HELPERS