Christophe Leroy <christophe.leroy@xxxxxx> writes:
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/types.h>
+#include <linux/mm.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
+#include <linux/highmem.h>
+#include <linux/memblock.h>
+#include <linux/slab.h>
+
+#include <asm/pgtable.h>
+#include <asm/pgalloc.h>
+#include <asm/fixmap.h>
+#include <asm/io.h>
+#include <asm/setup.h>
+#include <asm/sections.h>
I needed:
+#include <asm/machdep.h>
To fix:
../arch/powerpc/mm/ioremap.c: In function âioremap_wcâ:
../arch/powerpc/mm/ioremap.c:290:6: error: âppc_mdâ undeclared (first use in this function)
if (ppc_md.ioremap)
^~~~~~
cheers