From: Mauro Carvalho Chehab Date: Thu, 5 Apr 2018 15:17:31 +0000 (-0400) Subject: media: cec_gpio: allow building CEC_GPIO with COMPILE_TEST X-Git-Tag: android-x86-8.1-r1~932^2~461 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b5d9f09e93152e2bc46c829709364e1634338f2f;p=android-x86%2Fkernel.git media: cec_gpio: allow building CEC_GPIO with COMPILE_TEST At least on i386, building with allyesconfig doesn't enable PREEMPT, causing cec_gpio to not build. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 31dc3c254a72..91b0c7324afb 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -558,7 +558,7 @@ config VIDEO_MESON_AO_CEC config CEC_GPIO tristate "Generic GPIO-based CEC driver" - depends on PREEMPT + depends on PREEMPT || COMPILE_TEST select CEC_CORE select CEC_PIN select GPIOLIB