linux-stable/drivers/clk/samsung
Arnd Bergmann 2aac2d8b95 clk: samsung: add CONFIG_OF dependency
When CONFIG_OF is disabled, build testing on x86 runs into a couple of
objtool warnings from functions that unconditionally call panic() but
have no __noreturn annotation:

vmlinux.o: warning: objtool: exynos3250_cmu_isp_probe+0x17: samsung_cmu_register_one() is missing a __noreturn annotation
vmlinux.o: warning: objtool: exynos7885_cmu_probe+0x16: exynos_arm64_register_cmu() is missing a __noreturn annotation
vmlinux.o: warning: objtool: exynos850_cmu_probe+0x16: exynos_arm64_register_cmu() is missing a __noreturn annotation
vmlinux.o: warning: objtool: exynosautov9_cmu_probe+0x16: exynos_arm64_register_cmu() is missing a __noreturn annotation

The objtool analysis is correct, and this could be addressed by just
returning success whenever CONFIG_OF is disabled to let all that code
be eliminated, but since the driver is no use without CONFIG_OF,
just add that as a dependency. It will still get compile tested on
all architectures since CONFIG_OF is enabled in allmodconfig and most
randconfig builds.

Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230609081559.915867-1-arnd@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-06-12 11:45:20 +02:00
..
Kconfig clk: samsung: add CONFIG_OF dependency 2023-06-12 11:45:20 +02:00
Makefile clk: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
clk-cpu.c clk: samsung: Update CPU clk registration 2021-11-20 14:22:49 +01:00
clk-cpu.h clk: samsung: Update CPU clk registration 2021-11-20 14:22:49 +01:00
clk-exynos-arm64.c clk: samsung: exynos5433: Extract PM support to common ARM64 layer 2023-03-07 08:38:54 +01:00
clk-exynos-arm64.h clk: samsung: exynos5433: Extract PM support to common ARM64 layer 2023-03-07 08:38:54 +01:00
clk-exynos-audss.c clk: samsung: Convert to platform remove callback returning void 2023-03-12 17:24:13 +01:00
clk-exynos-clkout.c clk: samsung: Add Exynos4212 compatible to CLKOUT driver 2023-05-09 19:48:28 +02:00
clk-exynos4.c clk: samsung: Re-add support for Exynos4212 CPU clock 2023-05-09 19:48:28 +02:00
clk-exynos5-subcmu.c clk: samsung: Fix reference to CLK_OF_DECLARE in comment 2022-11-01 12:44:46 -07:00
clk-exynos5-subcmu.h clk: samsung: Change signature of exynos5_subcmus_init() function 2019-08-08 13:53:42 -07:00
clk-exynos7.c clk: exynos7: Mark aclk_fsys1_200 as critical 2021-04-07 11:37:17 +02:00
clk-exynos850.c clk: samsung: exynos850: Make PMU_ALIVE_PCLK critical 2023-03-13 08:24:57 +01:00
clk-exynos3250.c clk: samsung: Update CPU clk registration 2021-11-20 14:22:49 +01:00
clk-exynos4412-isp.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk-exynos5250.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk-exynos5260.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5260.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5410.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5420.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk-exynos5433.c clk: samsung: exynos5433: Extract PM support to common ARM64 layer 2023-03-07 08:38:54 +01:00
clk-exynos7885.c clk: samsung: exynos7885: Correct "div4" clock parents 2022-10-18 09:15:44 -04:00
clk-exynosautov9.c clk: samsung: exynosautov9: add fsys1 clock support 2022-08-23 09:21:57 +03:00
clk-fsd.c clk: samsung: fsd: Add cam_csi block clock information 2022-01-26 10:24:28 +01:00
clk-pll.c clk: samsung: clk-pll: Implement pll0818x PLL type 2023-03-06 16:57:15 +01:00
clk-pll.h clk: samsung: clk-pll: Implement pll0818x PLL type 2023-03-06 16:57:15 +01:00
clk-s3c64xx.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk-s5pv210-audss.c clk: samsung: s5pv210-audss: Make use of devm_platform_ioremap_resource() 2021-09-13 18:01:09 +02:00
clk-s5pv210.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk.c clk: samsung: Extract clocks registration to common function 2023-03-07 08:38:54 +01:00
clk.h clk: samsung: Extract clocks registration to common function 2023-03-07 08:38:54 +01:00