clk: exynos: Add header guard for clk-pll.h
Subsystems (2)
PATCH 1/1 clk: exynos: Add header guard for clk-pll.h
The clk-pll.h is going to be included in multiple files soon. Add missing header guard to prevent possible build errors in future.
Signed-off-by Sam Protsenko <[email protected]>
Fixes 166097e87753 ("clk: exynos: add clock driver for Exynos7420 Soc")
--- drivers/clk/exynos/clk-pll.h | 5 +++++ 1 file changed, 5 insertions(+)
drivers/clk/exynos/clk-pll.h +5 -0
@@ -5,4 +5,9 @@* Thomas Abraham <[email protected]> */ +#ifndef __EXYNOS_CLK_PLL_H +#define __EXYNOS_CLK_PLL_H +unsigned long pll145x_get_rate (unsigned int *con1,unsigned long fin_freq); + +#endif /* __EXYNOS_CLK_PLL_H */
Signature · 1 line
2.39.2
Quoted 14 lines · Sam Protsenko
The
clk-pll.his going to be included in multiple files soon. Add missing header guard to prevent possible build errors in future.Signed-off-by Sam Protsenko <[email protected]>Fixes 166097e87753 ("clk: exynos: add clock driver for Exynos7420 Soc")--- drivers/clk/exynos/clk-pll.h | 5 +++++ 1 file changed, 5 insertions(+)drivers/clk/exynos/clk-pll.h +0
-0
drivers/clk/exynos/clk-pll.h line 13
Quoted 9 lines
drivers/clk/exynos/clk-pll.h +5
-0@@ -5,4 +5,9 @@* Thomas Abraham <[email protected]> */ +#ifndef __EXYNOS_CLK_PLL_H +#define __EXYNOS_CLK_PLL_H +unsigned long pll145x_get_rate (unsigned int *con1,unsigned long fin_freq); + +#endif /* __EXYNOS_CLK_PLL_H */
Reviewed-by Sean Anderson <[email protected]>
Hi,
2023년 11월 9일 (목) 04:54, Sean Anderson <[email protected]>님이 작성:
Quoted 23 lines · Sam Protsenko
Quoted 14 lines
The
clk-pll.his going to be included in multiple files soon. Add missing header guard to prevent possible build errors in future.Signed-off-by Sam Protsenko <[email protected]>Fixes 166097e87753 ("clk: exynos: add clock driver for Exynos7420 Soc")--- drivers/clk/exynos/clk-pll.h | 5 +++++ 1 file changed, 5 insertions(+)drivers/clk/exynos/clk-pll.h +0
-0drivers/clk/exynos/clk-pll.h line 11
Quoted 7 lines
drivers/clk/exynos/clk-pll.h +3
-0@@ -5,4 +5,9 @@* Thomas Abraham <[email protected]> */ +#ifndef __EXYNOS_CLK_PLL_H +#define __EXYNOS_CLK_PLL_H + unsigned long pll145x_get_rate(unsigned int *con1, unsigned long
fin_freq);
Quoted 4 lines
drivers/clk/exynos/clk-pll.h line 13
Quoted 2 lines
drivers/clk/exynos/clk-pll.h +2
-0+ +#endif /* __EXYNOS_CLK_PLL_H */ Reviewed-by Sean Anderson <[email protected]>
applied to u-boot-samsung.
Thanks.
Minkyu Kang.