diff options
author | Sean Young <sean@mess.org> | 2019-03-05 10:14:40 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-19 13:18:29 -0400 |
commit | 81527254e15103f73c03b6b9322f0e372cf3a366 (patch) | |
tree | ba25c17efbae7da9989dd9c3e83bf6ad55d821f0 | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-next-81527254e15103f73c03b6b9322f0e372cf3a366.tar.gz |
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 <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r-- | drivers/media/platform/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 4acbed18964497..02756c018c0f32 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. |