[PATCH] ARM: mmu: include <asm/io.h> from <mmu.h>
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Dec 11 12:34:54 PST 2025
To make sure virt_to_phys() is always defined, include the relevant
header.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
include/mmu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/mmu.h b/include/mmu.h
index 29992ae1d6c6..f79619808829 100644
--- a/include/mmu.h
+++ b/include/mmu.h
@@ -27,6 +27,7 @@
#define MAP_DEFAULT MAP_ARCH_DEFAULT
#include <asm/mmu.h>
+#include <asm/io.h>
static inline bool maptype_is_compatible(maptype_t active, maptype_t check)
{
--
2.47.3
More information about the barebox
mailing list