diff options
Diffstat (limited to 'arch/arm/include/asm/prom.h')
-rw-r--r-- | arch/arm/include/asm/prom.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/prom.h b/arch/arm/include/asm/prom.h index 8f1037fdc08f..11b8708fc4db 100644 --- a/arch/arm/include/asm/prom.h +++ b/arch/arm/include/asm/prom.h | |||
@@ -21,5 +21,17 @@ static inline void irq_dispose_mapping(unsigned int virq) | |||
21 | return; | 21 | return; |
22 | } | 22 | } |
23 | 23 | ||
24 | extern struct machine_desc *setup_machine_fdt(unsigned int dt_phys); | ||
25 | extern void arm_dt_memblock_reserve(void); | ||
26 | |||
27 | #else /* CONFIG_OF */ | ||
28 | |||
29 | static inline struct machine_desc *setup_machine_fdt(unsigned int dt_phys) | ||
30 | { | ||
31 | return NULL; | ||
32 | } | ||
33 | |||
34 | static inline void arm_dt_memblock_reserve(void) { } | ||
35 | |||
24 | #endif /* CONFIG_OF */ | 36 | #endif /* CONFIG_OF */ |
25 | #endif /* ASMARM_PROM_H */ | 37 | #endif /* ASMARM_PROM_H */ |