Commit cc23e3d6 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Hans Verkuil
Browse files

media: cec: seco: add HAS_IOPORT dependency



This driver is now enabled for compile-testing on architectures
that may not have I/O port access:

drivers/media/cec/platform/seco/seco-cec.c: In function 'smb_word_op.constprop.isra':
include/asm-generic/io.h:542:14: error: call to '_inb' declared with attribute error: inb()) requires CONFIG_HAS_IOPORT

Add a Kconfig dependency again.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent a4124417
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ config CEC_TEGRA

config CEC_SECO
	tristate "SECO Boards HDMI CEC driver"
	depends on X86 || COMPILE_TEST
	depends on X86 || (COMPILE_TEST && HAS_IOPORT)
	depends on PCI && DMI
	select CEC_CORE
	select CEC_NOTIFIER