From 81527254e15103f73c03b6b9322f0e372cf3a366 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Tue, 5 Mar 2019 10:14:40 -0500 Subject: media: seco: depend on CONFIG_RC_CORE=y when not a module Ensure that if seco-cec is not compiled as a module, then neither should rc-core. Found by 0-day. Fixes: f27dd0ad6885 ("media: seco-cec: fix RC_CORE dependency") Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 4acbed1896449..02756c018c0f3 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -649,7 +649,7 @@ config VIDEO_SECO_CEC config VIDEO_SECO_RC bool "SECO Boards IR RC5 support" depends on VIDEO_SECO_CEC - depends on RC_CORE + depends on RC_CORE=y || (RC_CORE=m && VIDEO_SECO_CEC=m) help If you say yes here you will get support for the SECO Boards Consumer-IR in seco-cec driver. -- cgit 1.2.3-korg