clk: samsung: Allow compile testing of Exynos, S3C64xx and S5Pv210
So far all Exynos, S3C64xx and S5Pv210 clock units were selected by respective SOC/ARCH Kconfig option. On a kernel built for selected SoCs, this allowed to build only limited set of matching clock drivers. However compile testing was not possible in such case as Makefile object depends on SOC/ARCH option. Add separate Kconfig options for each of them to be able to compile test. Link: https://lore.kernel.org/r/20201119164509.754851-1-krzk@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
This commit is contained in:
committed by
Sylwester Nawrocki
parent
3650b228f8
commit
e44cdff051
@@ -10,7 +10,7 @@
|
||||
|
||||
struct device_node;
|
||||
|
||||
#ifdef CONFIG_ARCH_S3C64XX
|
||||
#ifdef CONFIG_S3C64XX_COMMON_CLK
|
||||
void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,
|
||||
unsigned long xusbxti_f, bool s3c6400,
|
||||
void __iomem *base);
|
||||
@@ -19,7 +19,7 @@ static inline void s3c64xx_clk_init(struct device_node *np,
|
||||
unsigned long xtal_f,
|
||||
unsigned long xusbxti_f,
|
||||
bool s3c6400, void __iomem *base) { }
|
||||
#endif /* CONFIG_ARCH_S3C64XX */
|
||||
#endif /* CONFIG_S3C64XX_COMMON_CLK */
|
||||
|
||||
#ifdef CONFIG_S3C2410_COMMON_CLK
|
||||
void s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f,
|
||||
|
||||
Reference in New Issue
Block a user