summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/dm1105
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2023-05-22 12:50:23 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-28 11:09:25 +0200
commit7997604bc90bbb367396dd406ecb50645ab406ef (patch)
tree8132e9dcd224aaa37a355907ebc2bb9e89f7bac8 /drivers/media/pci/dm1105
parent582d4ad468cbc6ef2db4689ff3bd5868d95402c9 (diff)
downloadlinux-stable-7997604bc90bbb367396dd406ecb50645ab406ef.tar.gz
linux-stable-7997604bc90bbb367396dd406ecb50645ab406ef.tar.bz2
linux-stable-7997604bc90bbb367396dd406ecb50645ab406ef.zip
media: add HAS_IOPORT dependencies
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Link: https://lore.kernel.org/linux-media/20230522105049.1467313-19-schnelle@linux.ibm.com Reviewed-by: Sean Young <sean@mess.org> # media/rc Co-developed-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/pci/dm1105')
-rw-r--r--drivers/media/pci/dm1105/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/dm1105/Kconfig b/drivers/media/pci/dm1105/Kconfig
index e0e3af67c99c..4498c37f4990 100644
--- a/drivers/media/pci/dm1105/Kconfig
+++ b/drivers/media/pci/dm1105/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config DVB_DM1105
tristate "SDMC DM1105 based PCI cards"
- depends on DVB_CORE && PCI && I2C && I2C_ALGOBIT
+ depends on DVB_CORE && PCI && I2C && I2C_ALGOBIT && HAS_IOPORT
select DVB_PLL if MEDIA_SUBDRV_AUTOSELECT
select DVB_STV0299 if MEDIA_SUBDRV_AUTOSELECT
select DVB_STV0288 if MEDIA_SUBDRV_AUTOSELECT