Browse Source

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 <mchehab@s-opensource.com>
Mauro Carvalho Chehab 7 years ago
parent
commit
b5d9f09e93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/platform/Kconfig

+ 1 - 1
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