All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/bridge: Fix 0-day build error
@ 2018-11-19 12:44 ` Fabrizio Castro
  0 siblings, 0 replies; 10+ messages in thread
From: Fabrizio Castro @ 2018-11-19 12:44 UTC (permalink / raw)
  To: Peter Rosin, Boris Brezillon, Archit Taneja, Andrzej Hajda,
	David Airlie
  Cc: Fabrizio Castro, Laurent Pinchart, dri-devel, Simon Horman,
	Geert Uytterhoeven, Chris Paterson, Biju Das, linux-renesas-soc

kbuild test robot reports:

>> ERROR: "i2c_mux_add_adapter" [drivers/gpu/drm/bridge/sii902x.ko]
undefined!
>> ERROR: "i2c_mux_alloc" [drivers/gpu/drm/bridge/sii902x.ko]
undefined!
>> ERROR: "i2c_mux_del_adapters" [drivers/gpu/drm/bridge/sii902x.ko]
undefined!

Quite obviously the driver depends on I2C_MUX, but adding a "depends on"
introduces a recursive dependency, therefore this patch selects I2C_MUX
instead.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Link: https://lists.01.org/pipermail/kbuild-all/2018-November/054924.html
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index 9eeb8ef..2fee47b 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -95,6 +95,7 @@ config DRM_SII902X
 	depends on OF
 	select DRM_KMS_HELPER
 	select REGMAP_I2C
+	select I2C_MUX
 	---help---
 	  Silicon Image sii902x bridge chip driver.
 
-- 
2.7.4

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

end of thread, other threads:[~2018-11-19 23:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-19 12:44 [PATCH] drm/bridge: Fix 0-day build error Fabrizio Castro
2018-11-19 12:44 ` Fabrizio Castro
2018-11-19 12:51 ` Boris Brezillon
2018-11-19 12:51   ` Boris Brezillon
2018-11-19 13:09   ` Fabrizio Castro
2018-11-19 13:09     ` Fabrizio Castro
2018-11-19 13:22     ` Boris Brezillon
2018-11-19 13:22       ` Boris Brezillon
2018-11-19 13:24       ` Fabrizio Castro
2018-11-19 13:24         ` Fabrizio Castro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.