diff mbox series

[v14,10/18] media: i2c: ds90ub9xx: Add COMMON_CLK kconfig dependency

Message ID 20230616135922.442979-11-tomi.valkeinen@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series i2c-atr and FPDLink | expand

Commit Message

Tomi Valkeinen June 16, 2023, 1:59 p.m. UTC
Fix missing COMMON_CLK dependency:

ERROR: modpost: "__clk_get_name" [drivers/media/i2c/ds90ub913.ko] undefined!
ERROR: modpost: "devm_clk_hw_register_fixed_factor" [drivers/media/i2c/ds90ub913.ko] undefined!
ERROR: modpost: "of_clk_hw_simple_get" [drivers/media/i2c/ds90ub913.ko] undefined!
ERROR: modpost: "devm_of_clk_add_hw_provider" [drivers/media/i2c/ds90ub913.ko] undefined!

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202305081255.n5KHsShj-lkp@intel.com/
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
 drivers/media/i2c/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 461df425c163..8a5f09a3de6c 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -1619,7 +1619,7 @@  menu "Video serializers and deserializers"
 
 config VIDEO_DS90UB913
 	tristate "TI DS90UB913 FPD-Link III Serializer"
-	depends on OF && I2C && VIDEO_DEV
+	depends on OF && I2C && VIDEO_DEV && COMMON_CLK
 	select I2C_ATR
 	select MEDIA_CONTROLLER
 	select OF_GPIO
@@ -1632,7 +1632,7 @@  config VIDEO_DS90UB913
 
 config VIDEO_DS90UB953
 	tristate "TI FPD-Link III/IV CSI-2 Serializers"
-	depends on OF && I2C && VIDEO_DEV
+	depends on OF && I2C && VIDEO_DEV && COMMON_CLK
 	select I2C_ATR
 	select MEDIA_CONTROLLER
 	select OF_GPIO
@@ -1645,7 +1645,7 @@  config VIDEO_DS90UB953
 
 config VIDEO_DS90UB960
 	tristate "TI FPD-Link III/IV Deserializers"
-	depends on OF && I2C && VIDEO_DEV
+	depends on OF && I2C && VIDEO_DEV && COMMON_CLK
 	select I2C_ATR
 	select MEDIA_CONTROLLER
 	select OF_GPIO