[PATCH 1/4] include: axp_pmic: Add missing header guard definition

Andre Przywara andre.przywara at arm.com
Mon Oct 25 02:38:06 CEST 2021


On Sun, 22 Aug 2021 18:18:03 -0500
Samuel Holland <samuel at sholland.org> wrote:

> This header attempted to avoid multiple inclusion using a header guard.
> But the preprocessor symbol was never defined, so the guard had no
> effect. Fix this by defining the symbol.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Reviewed-by: Andre Przywara <andre.przywara at arm.com>

Cheers,
Andre

> ---
> 
>  include/axp_pmic.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/axp_pmic.h b/include/axp_pmic.h
> index 46a017d2efa..2eab18937bc 100644
> --- a/include/axp_pmic.h
> +++ b/include/axp_pmic.h
> @@ -5,6 +5,7 @@
>   * X-Powers AX Power Management IC support header
>   */
>  #ifndef _AXP_PMIC_H_
> +#define _AXP_PMIC_H_
>  
>  #include <stdbool.h>
>  



More information about the U-Boot mailing list