[PATCH] clk: exynos: Add header guard for clk-pll.h

Sean Anderson seanga2 at gmail.com
Wed Nov 8 17:14:54 CET 2023


On 11/7/23 16:22, Sam Protsenko wrote:
> 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 <semen.protsenko at linaro.org>
> Fixes: 166097e87753 ("clk: exynos: add clock driver for Exynos7420 Soc")
> ---
>   drivers/clk/exynos/clk-pll.h | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/clk/exynos/clk-pll.h b/drivers/clk/exynos/clk-pll.h
> index c79aac44258b..7b7af5e67612 100644
> --- a/drivers/clk/exynos/clk-pll.h
> +++ b/drivers/clk/exynos/clk-pll.h
> @@ -5,4 +5,9 @@
>    * Thomas Abraham <thomas.ab at samsung.com>
>    */
>   
> +#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 <seanga2 at gmail.com>


More information about the U-Boot mailing list