GNU Linux-libre 6.9.2-gnu
[releases.git] / include / linux / clk / samsung.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2020 Krzysztof Kozlowski <krzk@kernel.org>
4  */
5
6 #ifndef __LINUX_CLK_SAMSUNG_H_
7 #define __LINUX_CLK_SAMSUNG_H_
8
9 #include <linux/compiler_types.h>
10
11 struct device_node;
12
13 #ifdef CONFIG_S3C64XX_COMMON_CLK
14 void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,
15                       unsigned long xusbxti_f, bool s3c6400,
16                       void __iomem *base);
17 #else
18 static inline void s3c64xx_clk_init(struct device_node *np,
19                                     unsigned long xtal_f,
20                                     unsigned long xusbxti_f,
21                                     bool s3c6400, void __iomem *base) { }
22 #endif /* CONFIG_S3C64XX_COMMON_CLK */
23
24 #endif /* __LINUX_CLK_SAMSUNG_H_ */