diff --git a/mm/early_ioremap.c b/mm/early_ioremap.c
index 23f744d77ce0022dbb46bd0232904851094f75e6..17ae14b5aefa2e5302a90e5b748a719e22a22f3b 100644
--- a/mm/early_ioremap.c
+++ b/mm/early_ioremap.c
@@ -15,6 +15,7 @@
 #include <linux/mm.h>
 #include <linux/vmalloc.h>
 #include <asm/fixmap.h>
+#include <asm/early_ioremap.h>
 
 #ifdef CONFIG_MMU
 static int early_ioremap_debug __initdata;