summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/pulse8-cec
diff options
context:
space:
mode:
authorHans Verkuil2017-05-28 10:48:37 +0200
committerMauro Carvalho Chehab2017-06-04 20:23:33 +0200
commit9177e51d1434076a91f9bfb693deae8b955d6d57 (patch)
treec0c4bceeb75daee0eda2df74feecd4586521da3c /drivers/media/usb/pulse8-cec
parent[media] rainshadow-cec: ensure exit_loop is intialized (diff)
downloadkernel-qcow2-linux-9177e51d1434076a91f9bfb693deae8b955d6d57.tar.gz
kernel-qcow2-linux-9177e51d1434076a91f9bfb693deae8b955d6d57.tar.xz
kernel-qcow2-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/usb/pulse8-cec')
-rw-r--r--drivers/media/usb/pulse8-cec/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/pulse8-cec/Kconfig b/drivers/media/usb/pulse8-cec/Kconfig
index 8937f3986a01..18ead44824ba 100644
--- a/drivers/media/usb/pulse8-cec/Kconfig
+++ b/drivers/media/usb/pulse8-cec/Kconfig
@@ -1,6 +1,7 @@
config USB_PULSE8_CEC
tristate "Pulse Eight HDMI CEC"
- depends on USB_ACM && CEC_CORE
+ depends on USB_ACM
+ select CEC_CORE
select SERIO
select SERIO_SERPORT
---help---