[PATCH] drm/sti: select CEC_CORE if CEC_NOTIFIER
Hans Verkuil
hverkuil at xs4all.nl
Mon Jul 17 11:50:44 UTC 2017
If the stih-cec driver is a module and the drm sti 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 at cisco.com>
---
diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig
index acd72865feac..0eab3cb59fc5 100644
--- a/drivers/gpu/drm/sti/Kconfig
+++ b/drivers/gpu/drm/sti/Kconfig
@@ -8,5 +8,6 @@ config DRM_STI
select DRM_PANEL
select FW_LOADER
select SND_SOC_HDMI_CODEC if SND_SOC
+ select CEC_CORE if CEC_NOTIFIER
help
Choose this option to enable DRM on STM stiH4xx chipset
More information about the dri-devel
mailing list