drm/Kconfig: add missing 'depends on DRM' for DRM_DP_CEC
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 6 Dec 2019 11:26:08 +0000 (12:26 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 9 Jan 2020 09:16:35 +0000 (10:16 +0100)
Add a missing 'depends on DRM' for the DRM_DP_CEC config
option. Without that enabling DRM_DP_CEC will force CEC_CORE
to =y instead of =m if DRM=m as well.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/489bdaae-9b05-2d70-12e1-4fda7899dfc1@xs4all.nl
drivers/gpu/drm/Kconfig

index 7041323..d0aa6cf 100644 (file)
@@ -168,6 +168,7 @@ config DRM_LOAD_EDID_FIRMWARE
 
 config DRM_DP_CEC
        bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
+       depends on DRM
        select CEC_CORE
        help
          Choose this option if you want to enable HDMI CEC support for