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

Samuel Holland samuel at sholland.org
Mon Oct 25 04:00:07 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>
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
---

(no changes since v1)

 include/axp_pmic.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/axp_pmic.h b/include/axp_pmic.h
index 46a017d2ef..2eab18937b 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.32.0



More information about the U-Boot mailing list