]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/exynos: select CEC_CORE if CEC_NOTIFIER
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 17 Jul 2017 11:48:14 +0000 (13:48 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 27 Jul 2017 00:24:03 +0000 (09:24 +0900)
If the s5p-cec driver is a module and the drm exynos driver is built-in, then
the CEC core will be a module also, causing the CEC notifier to fail (will be
compiled as empty functions).

To prevent this select CEC_CORE if CEC_NOTIFIER is set to ensure the CEC core
is also built into the kernel.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/Kconfig

index 1d185347c64c06f7b749061909390ea0953ed3f8..305dc3d4ff772a7fe8a1ad80b9a2897f04a4cca1 100644 (file)
@@ -75,6 +75,7 @@ config DRM_EXYNOS_DP
 config DRM_EXYNOS_HDMI
        bool "HDMI"
        depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
+       select CEC_CORE if CEC_NOTIFIER
        help
          Choose this option if you want to use Exynos HDMI for DRM.