Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Arnd Bergmann and committed by
Hans Verkuil
cc23e3d6 a4124417

+1 -1
+1 -1
drivers/media/cec/platform/Kconfig
··· 99 99 100 100 config CEC_SECO 101 101 tristate "SECO Boards HDMI CEC driver" 102 - depends on X86 || COMPILE_TEST 102 + depends on X86 || (COMPILE_TEST && HAS_IOPORT) 103 103 depends on PCI && DMI 104 104 select CEC_CORE 105 105 select CEC_NOTIFIER