]> Git Repo - J-linux.git/commitdiff
regulator: raa215300: Add build dependency with COMMON_CLK
authorBiju Das <[email protected]>
Wed, 28 Jun 2023 17:40:04 +0000 (18:40 +0100)
committerMark Brown <[email protected]>
Wed, 28 Jun 2023 20:31:59 +0000 (21:31 +0100)
The COMMON_CLK config is not enabled in some of the architectures.
This causes build issues. Fix these issues by adding build dependency.

ERROR: modpost: "clk_unregister_fixed_rate" [drivers/regulator/raa215300.ko] undefined!
ERROR: modpost: "clk_register_fixed_rate" [drivers/regulator/raa215300.ko] undefined!

Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Biju Das <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
drivers/regulator/Kconfig

index 2c2405024acec32381323fc8f7f7074092f58bdf..a61a1b8a103264c2d631d86d1230fcb57c1015c7 100644 (file)
@@ -1036,6 +1036,7 @@ config REGULATOR_QCOM_USB_VBUS
 config REGULATOR_RAA215300
        tristate "Renesas RAA215300 driver"
        select REGMAP_I2C
+       depends on COMMON_CLK
        depends on I2C
        help
          Support for the Renesas RAA215300 PMIC.
This page took 0.060182 seconds and 4 git commands to generate.