On Sun, 22 Aug 2021 18:18:03 -0500
Samuel Holland <[email protected]> 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 <[email protected]>

Reviewed-by: Andre Przywara <[email protected]>

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>
>  

Reply via email to