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

Samuel Holland samuel at sholland.org
Mon Aug 23 01:18:03 CEST 2021


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

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



More information about the U-Boot mailing list