summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-05 17:17:31 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-17 11:01:04 +0200
commitb5d9f09e93152e2bc46c829709364e1634338f2f (patch)
tree15347d10e9ef580055230f8d7f5962306f329fc7 /drivers/media/platform/Kconfig
parentmedia: fsl-viu: allow building it with COMPILE_TEST (diff)
downloadlinux-b5d9f09e93152e2bc46c829709364e1634338f2f.tar.xz
linux-b5d9f09e93152e2bc46c829709364e1634338f2f.zip
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>
Diffstat (limited to 'drivers/media/platform/Kconfig')
-rw-r--r--drivers/media/platform/Kconfig2
1 files changed, 1 insertions, 1 deletions
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