]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: cec: seco: add HAS_IOPORT dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 4 Oct 2024 10:02:23 +0000 (10:02 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 12 Oct 2024 14:28:26 +0000 (16:28 +0200)
commitcc23e3d69958a99d62321bb4d839b1f9df47952b
tree1d9e1f2a14c976f43dd34d273d4d6cc70308c5dc
parenta4124417d095d2a68015289382242491296487a7
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>
drivers/media/cec/platform/Kconfig