]> Pileus Git - ~andy/linux/commitdiff
metag: move setup_machine_fdt declaration from prom.h
authorRob Herring <rob.herring@calxeda.com>
Sun, 8 Sep 2013 19:27:53 +0000 (14:27 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 10 Oct 2013 01:04:03 +0000 (20:04 -0500)
Move setup_machine_fdt out of prom.h and into asm/setup.h in preparation
to remove prom.h.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-metag@vger.kernel.org
arch/metag/include/asm/prom.h
arch/metag/include/asm/setup.h
arch/metag/kernel/setup.c

index 9f67cbf3dcb7a29db09ad6374b83cb0e5caf950f..e19022c5a0cbdc3194d155c5ccd3e83ef5c15629 100644 (file)
 #ifndef __ASM_METAG_PROM_H
 #define __ASM_METAG_PROM_H
 
-#include <asm/setup.h>
 #define HAVE_ARCH_DEVTREE_FIXUPS
 
-extern const struct machine_desc *setup_machine_fdt(void *dt);
 extern void copy_fdt(void);
 
 #endif /* __ASM_METAG_PROM_H */
index e13083b15dd04b742ffd5c951cfa621db6d4df6c..e9fdee9452b1f17c90700e8b29db8fdccd543490 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <uapi/asm/setup.h>
 
+extern const struct machine_desc *setup_machine_fdt(void *dt);
 void per_cpu_trap_init(unsigned long);
 extern void __init dump_machine_table(void);
 #endif /* _ASM_METAG_SETUP_H */
index 92cc119594d30b572b1c1607c9447051cc7daf75..8c4b3976bebfe1c452147b8d58c85daa6689b718 100644 (file)
@@ -42,7 +42,6 @@
 #include <asm/mmu.h>
 #include <asm/mmzone.h>
 #include <asm/processor.h>
-#include <asm/prom.h>
 #include <asm/sections.h>
 #include <asm/setup.h>
 #include <asm/traps.h>