aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/cec
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-17 08:49:06 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-17 08:49:06 +0200
commit6af5797c76c11d8c08ae1f5a73c3711fcf89ab6f (patch)
tree6c976dc849810649a37e45fb9eb603e75d5937ef /drivers/media/cec
parentmedia: media/test_drivers: rename to test-drivers (diff)
downloadlinux-dev-6af5797c76c11d8c08ae1f5a73c3711fcf89ab6f.tar.xz
linux-dev-6af5797c76c11d8c08ae1f5a73c3711fcf89ab6f.zip
media: cec: don't select PCI & DMI
While select would be a great idea for most archs, this causes a breakage with s390: "I don't think that's a good idea, as it suddenly enables selecting all PCI drivers on platforms that do not have PCI. WARNING: unmet direct dependencies detected for PCI Depends on [n]: HAVE_PCI [=n] Selected by [m]: - CEC_SECO [=m] && MEDIA_CEC_SUPPORT [=y] && (X86 || IA64 || COMPILE_TEST [=y]) Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/cec')
-rw-r--r--drivers/media/cec/platform/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/cec/platform/Kconfig b/drivers/media/cec/platform/Kconfig
index 2c4dd7401dd8..350533cd8261 100644
--- a/drivers/media/cec/platform/Kconfig
+++ b/drivers/media/cec/platform/Kconfig
@@ -100,8 +100,7 @@ config CEC_TEGRA
config CEC_SECO
tristate "SECO Boards HDMI CEC driver"
depends on (X86 || IA64) || COMPILE_TEST
- select PCI
- select DMI
+ depends on PCI && DMI
select CEC_CORE
select CEC_NOTIFIER
help