diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-05-28 10:48:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-04 20:23:33 +0200 |
commit | 9177e51d1434076a91f9bfb693deae8b955d6d57 (patch) | |
tree | c0c4bceeb75daee0eda2df74feecd4586521da3c /drivers/media/Kconfig | |
parent | [media] rainshadow-cec: ensure exit_loop is intialized (diff) | |
download | linux-9177e51d1434076a91f9bfb693deae8b955d6d57.tar.xz linux-9177e51d1434076a91f9bfb693deae8b955d6d57.zip |
[media] cec: select CEC_CORE instead of depend on it
The CEC framework is used by both drm and media. That makes it tricky
to get the dependencies right.
This patch moves the CEC_CORE and MEDIA_CEC_NOTIFIER config options
out of the media menu and instead drivers that want to use CEC should
select CEC_CORE and MEDIA_CEC_NOTIFIER (if needed).
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r-- | drivers/media/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index b72edd27f880..9ec634e2f2ba 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -2,6 +2,12 @@ # Multimedia device configuration # +config CEC_CORE + tristate + +config MEDIA_CEC_NOTIFIER + bool + menuconfig MEDIA_SUPPORT tristate "Multimedia support" depends on HAS_IOMEM |