2017-07-17 13:50 GMT+02:00 Hans Verkuil <hverkuil@xxxxxxxxx>: > 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@xxxxxxxxx> Thanks, Acked-by: Benjamin Gaignard <benjamin.gaignard@xxxxxxxxxx> > --- > 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 -- Benjamin Gaignard Graphic Study Group Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel