Skip to contentSkip to conversation

hw/sd/axiado_sdhci: Add header guard

PATCH Superseded Kuan-Jui Chiu 1 participant 1 message Sep 2 Arm/axiado architecture

v5 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v5 4/13 hw/sd/axiado_sdhci: Add header guard

---
 include/hw/sd/axiado_sdhci.h | 5 +++++
 1 file changed, 5 insertions(+)
include/hw/sd/axiado_sdhci.h +5 -0
index 85afebad93..ab52eb8185 100644
@@ -6,6 +6,9 @@
  * SPDX-License-Identifier: GPL-2.0-or-later
  */
 
+#ifndef AXIADO_SDHCI_H
+#define AXIADO_SDHCI_H
+
 #include "hw/sd/sdhci.h"
 #include "qom/object.h"
 
@@ -19,3 +22,5 @@ typedef struct AxiadoSDHCIState {
     MemoryRegion emmc_phy;
     BusState *sd_bus;
 } AxiadoSDHCIState;
+
+#endif /* AXIADO_SDHCI_H */
Signature · 1 line
2.34.1