]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] cec: Kconfig cleanup
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 17 Apr 2017 10:44:35 +0000 (07:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Apr 2017 09:50:52 +0000 (06:50 -0300)
commit56a263aaa0a5f58d70517fae2bdd63fc1e17efec
tree12804cdac321eb61783ac32901cf13fbeabf0a3e
parentee0fe833d96793853335844b6d99fb76bd12cbeb
[media] cec: Kconfig cleanup

The Kconfig options for the CEC subsystem were a bit messy. In
addition there were two cec sources (cec-edid.c and cec-notifier.c)
that were outside of the media/cec directory, which was weird.

Move those sources to media/cec as well.

The cec-edid and cec-notifier functionality is now part of the cec
module and these are no longer separate modules.

Also remove the MEDIA_CEC_EDID config option and include it with the
main CEC config option (which defined CEC_EDID anyway).

Added static inlines to cec-edid.h for dummy functions when CEC_CORE
isn't defined.

CEC drivers should now depend on CEC_CORE.

CEC drivers that need the cec-notifier functionality must explicitly
select CEC_NOTIFIER.

The s5p-cec and stih-cec drivers depended on VIDEO_DEV instead of
CEC_CORE, fix that as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
16 files changed:
MAINTAINERS
drivers/media/Kconfig
drivers/media/Makefile
drivers/media/cec-edid.c [deleted file]
drivers/media/cec-notifier.c [deleted file]
drivers/media/cec/Kconfig [new file with mode: 0644]
drivers/media/cec/Makefile
drivers/media/cec/cec-edid.c [new file with mode: 0644]
drivers/media/cec/cec-notifier.c [new file with mode: 0644]
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
include/media/cec-edid.h
include/media/cec.h