The Tesla FSD clock controller driver uses shared parts from Exynos ARM64 clock drivers, so add proper dependency to fix COMPILE_TEST build errors like: /usr/bin/aarch64-linux-gnu-ld: drivers/clk/samsung/clk-fsd.o: in function `fsd_cmu_probe': clk-fsd.c:(.init.text+0x9c): undefined reference to `exynos_arm64_register_cmu'
Unified · Split
| @@ -129,6 +129,7 @@ config S3C2443_COMMON_CLK · 128 unmodified lines | |||
| 129 | config TESLA_FSD_COMMON_CLK | 129 | config TESLA_FSD_COMMON_CLK |
| 130 | bool "Tesla FSD clock controller support" if COMPILE_TEST | 130 | bool "Tesla FSD clock controller support" if COMPILE_TEST |
| 131 | depends on COMMON_CLK_SAMSUNG | 131 | depends on COMMON_CLK_SAMSUNG |
| 132 | depends on EXYNOS_ARM64_COMMON_CLK | ||
| 132 | help | 133 | help |
| 133 | Support for the clock controller present on the Tesla FSD SoC. | 134 | Support for the clock controller present on the Tesla FSD SoC. |
| 134 | Choose Y here only if you build for this SoC. | 135 | Choose Y here only if you build for this SoC. |