summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Protsenko <[email protected]>2024-08-07 22:14:22 -0500
committerMinkyu Kang <[email protected]>2024-08-19 16:09:06 +0900
commit29b4ff362ad76947feb1506a27791a2dd975adab (patch)
treef7ed261dc350782e4c054aafd3d2c200e196f80a
parent0e29d6608e13e04aaee53d7594e4f03eaafb1070 (diff)
arm: exynos: Add header guard for dwmmc.h
Add missing header guard to prevent possible build errors. Fixes: 77b55e8cfcee ("ARM: exynos: move SoC sources to mach-exynos") Signed-off-by: Sam Protsenko <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
-rw-r--r--arch/arm/mach-exynos/include/mach/dwmmc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/dwmmc.h b/arch/arm/mach-exynos/include/mach/dwmmc.h
index 59c28ed54c5..811e9a04c6e 100644
--- a/arch/arm/mach-exynos/include/mach/dwmmc.h
+++ b/arch/arm/mach-exynos/include/mach/dwmmc.h
@@ -4,6 +4,9 @@
* Jaehoon Chung <[email protected]>
*/
+#ifndef __ASM_ARM_ARCH_DWMMC_H
+#define __ASM_ARM_ARCH_DWMMC_H
+
#define DWMCI_CLKSEL 0x09C
#define DWMCI_SET_SAMPLE_CLK(x) (x)
#define DWMCI_SET_DRV_CLK(x) ((x) << 16)
@@ -25,3 +28,5 @@
/* CLKSEL Register */
#define DWMCI_DIVRATIO_BIT 24
#define DWMCI_DIVRATIO_MASK 0x7
+
+#endif /* __ASM_ARM_ARCH_DWMMC_H */