linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] media: cec: don't select PCI & DMI
@ 2020-04-17  7:07 Mauro Carvalho Chehab
  2020-04-17  7:07 ` [PATCH 2/3] media: mc/Kconfig: remove staging dependency for request API Mauro Carvalho Chehab
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2020-04-17  7:07 UTC (permalink / raw)
  To: Linux Media Mailing List
  Cc: Mauro Carvalho Chehab, Hans Verkuil, Geert Uytterhoeven

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>
---
 drivers/media/cec/platform/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 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
-- 
2.25.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-17 11:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-17  7:07 [PATCH 1/3] media: cec: don't select PCI & DMI Mauro Carvalho Chehab
2020-04-17  7:07 ` [PATCH 2/3] media: mc/Kconfig: remove staging dependency for request API Mauro Carvalho Chehab
2020-04-17  7:07 ` [PATCH 3/3] media: cec/usb: depends on USB_SUPPORT and TTY Mauro Carvalho Chehab
2020-04-17  7:30 ` [PATCH 1/3] media: cec: don't select PCI & DMI Geert Uytterhoeven
2020-04-17  7:34   ` Mauro Carvalho Chehab
2020-04-17  7:52     ` Geert Uytterhoeven
2020-04-17 11:10       ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).