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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Link: https://lore.kernel.org/oe-kbuild-all/202305081255.n5KHsShj-lkp@xxxxxxxxx/
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>
---
 drivers/media/i2c/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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
-- 
2.34.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux