[media] cec: select CEC_CORE instead of depend on it
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 28 May 2017 08:48:37 +0000 (05:48 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 4 Jun 2017 18:23:33 +0000 (15:23 -0300)
commit9177e51d1434076a91f9bfb693deae8b955d6d57
treec0c4bceeb75daee0eda2df74feecd4586521da3c
parentca33784ba4949856a94a545c91429aae5c8b658d
[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>
drivers/media/Kconfig
drivers/media/Makefile
drivers/media/cec/Kconfig
drivers/media/i2c/Kconfig
drivers/media/platform/Kconfig
drivers/media/platform/vivid/Kconfig
drivers/media/usb/pulse8-cec/Kconfig
drivers/media/usb/rainshadow-cec/Kconfig