From: Mauro Carvalho Chehab Date: Fri, 17 Apr 2020 06:49:06 +0000 (+0200) Subject: media: cec: don't select PCI & DMI X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6af5797c76c11d8c08ae1f5a73c3711fcf89ab6f;p=linux.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/cec/platform/Kconfig b/drivers/media/cec/platform/Kconfig index 2c4dd7401dd8b..350533cd82612 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