Skip to content

Commit cc23e3d

Browse files
arndbHans Verkuil
authored andcommitted
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>
1 parent a412441 commit cc23e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/cec/platform/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ config CEC_TEGRA
9999

100100
config CEC_SECO
101101
tristate "SECO Boards HDMI CEC driver"
102-
depends on X86 || COMPILE_TEST
102+
depends on X86 || (COMPILE_TEST && HAS_IOPORT)
103103
depends on PCI && DMI
104104
select CEC_CORE
105105
select CEC_NOTIFIER

0 commit comments

Comments
 (0)