Commit a8106818 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: move CEC USB drivers to a separate directory



As CEC support doesn't depend on MEDIA_SUPPORT, let's
place the platform drivers outside the media menu.

As a side effect, instead of depends on	USB, drivers
just select it.

Acked-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4be5e864
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,4 +34,5 @@ menuconfig MEDIA_CEC_SUPPORT

if MEDIA_CEC_SUPPORT
source "drivers/media/cec/platform/Kconfig"
source "drivers/media/cec/usb/Kconfig"
endif
+1 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
obj-y += core/ platform/
obj-y += core/ platform/ usb/
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
#
# USB drivers

source "drivers/media/cec/usb/pulse8/Kconfig"
source "drivers/media/cec/usb/rainshadow/Kconfig"
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the CEC USB device drivers.
#
obj-$(CONFIG_USB_PULSE8_CEC) += pulse8/
obj-$(CONFIG_USB_RAINSHADOW_CEC) += rainshadow/
+2 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config USB_PULSE8_CEC
	tristate "Pulse Eight HDMI CEC"
	depends on USB_ACM
	select CEC_CORE
	select USB
	select USB_ACM
	select SERIO
	select SERIO_SERPORT
	help
Loading