diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-09-08 15:27:53 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 21:04:03 -0400 |
commit | 7b009939af9bc7b698d7ddec03d53604efff881c (patch) | |
tree | b43a8d4135458e93c8bb1fa6a95b1a84992ea2b9 /arch | |
parent | 0b81430590882954ed60a138ac2bad1149303165 (diff) |
metag: move setup_machine_fdt declaration from prom.h
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/metag/include/asm/prom.h | 2 | ||||
-rw-r--r-- | arch/metag/include/asm/setup.h | 1 | ||||
-rw-r--r-- | arch/metag/kernel/setup.c | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/arch/metag/include/asm/prom.h b/arch/metag/include/asm/prom.h index 9f67cbf3dcb7..e19022c5a0cb 100644 --- a/arch/metag/include/asm/prom.h +++ b/arch/metag/include/asm/prom.h | |||
@@ -14,10 +14,8 @@ | |||
14 | #ifndef __ASM_METAG_PROM_H | 14 | #ifndef __ASM_METAG_PROM_H |
15 | #define __ASM_METAG_PROM_H | 15 | #define __ASM_METAG_PROM_H |
16 | 16 | ||
17 | #include <asm/setup.h> | ||
18 | #define HAVE_ARCH_DEVTREE_FIXUPS | 17 | #define HAVE_ARCH_DEVTREE_FIXUPS |
19 | 18 | ||
20 | extern const struct machine_desc *setup_machine_fdt(void *dt); | ||
21 | extern void copy_fdt(void); | 19 | extern void copy_fdt(void); |
22 | 20 | ||
23 | #endif /* __ASM_METAG_PROM_H */ | 21 | #endif /* __ASM_METAG_PROM_H */ |
diff --git a/arch/metag/include/asm/setup.h b/arch/metag/include/asm/setup.h index e13083b15dd0..e9fdee9452b1 100644 --- a/arch/metag/include/asm/setup.h +++ b/arch/metag/include/asm/setup.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <uapi/asm/setup.h> | 4 | #include <uapi/asm/setup.h> |
5 | 5 | ||
6 | extern const struct machine_desc *setup_machine_fdt(void *dt); | ||
6 | void per_cpu_trap_init(unsigned long); | 7 | void per_cpu_trap_init(unsigned long); |
7 | extern void __init dump_machine_table(void); | 8 | extern void __init dump_machine_table(void); |
8 | #endif /* _ASM_METAG_SETUP_H */ | 9 | #endif /* _ASM_METAG_SETUP_H */ |
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c index 92cc119594d3..8c4b3976bebf 100644 --- a/arch/metag/kernel/setup.c +++ b/arch/metag/kernel/setup.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <asm/mmu.h> | 42 | #include <asm/mmu.h> |
43 | #include <asm/mmzone.h> | 43 | #include <asm/mmzone.h> |
44 | #include <asm/processor.h> | 44 | #include <asm/processor.h> |
45 | #include <asm/prom.h> | ||
46 | #include <asm/sections.h> | 45 | #include <asm/sections.h> |
47 | #include <asm/setup.h> | 46 | #include <asm/setup.h> |
48 | #include <asm/traps.h> | 47 | #include <asm/traps.h> |