To make sure virt_to_phys() is always defined, include the relevant header.
Signed-off-by: Ahmad Fatoum <[email protected]> --- 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
