public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: i2c: tc358746: Add dependency on COMMON_CLK
@ 2026-03-26 12:49 Daniel Palmer
  0 siblings, 0 replies; only message in thread
From: Daniel Palmer @ 2026-03-26 12:49 UTC (permalink / raw)
  To: mchehab, linux-media; +Cc: linux-kernel, Daniel Palmer, kernel test robot

The driver is internally using bits common clk bits to model a
clock it manages but doesn't depend on COMMON_CLK so can
still be built when it isn't available and then cause linking
to fail.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603260904.0mYHPZwr-lkp@intel.com/
Signed-off-by: Daniel Palmer <daniel@thingy.jp>
---
 drivers/media/i2c/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 5eb1e0e0a87a..27c307be6f9b 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -1343,6 +1343,7 @@ config VIDEO_TC358743_CEC
 config VIDEO_TC358746
 	tristate "Toshiba TC358746 parallel-CSI2 bridge"
 	depends on VIDEO_DEV && PM && I2C
+	depends on COMMON_CLK
 	select VIDEO_V4L2_SUBDEV_API
 	select MEDIA_CONTROLLER
 	select V4L2_FWNODE
-- 
2.51.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-26 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 12:49 [PATCH] media: i2c: tc358746: Add dependency on COMMON_CLK Daniel Palmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox