]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: scmi: claim the dependency on CONFIG_CLK
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 12 Jun 2023 01:14:49 +0000 (10:14 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 19:21:07 +0000 (15:21 -0400)
Without CONFIG_CLK, the build fails with the following message:
  LD      u-boot
aarch64-none-linux-gnu-ld.bfd: drivers/firmware/scmi/scmi_agent-uclass.o: \
in function `scmi_bind_protocols':
.../drivers/firmware/scmi/scmi_agent-uclass.c:79: undefined reference to \
`_u_boot_list_2_driver_2_scmi_clock'

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/Kconfig

index 3ad5af964f3f359cd5d7f2ccc3285f86280c276f..29859cdfa15839c20f752386939571cb05b134c4 100644 (file)
@@ -160,6 +160,7 @@ config SANDBOX_CLK_CCF
 
 config CLK_SCMI
        bool "Enable SCMI clock driver"
+       depends on CLK
        depends on SCMI_FIRMWARE
        help
          Enable this option if you want to support clock devices exposed