diff options
Diffstat (limited to 'arch/x86/include/asm/olpc_ofw.h')
-rw-r--r-- | arch/x86/include/asm/olpc_ofw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/olpc_ofw.h b/arch/x86/include/asm/olpc_ofw.h index 1fff2de124e5..28a7fec01100 100644 --- a/arch/x86/include/asm/olpc_ofw.h +++ b/arch/x86/include/asm/olpc_ofw.h | |||
@@ -24,10 +24,10 @@ extern void setup_olpc_ofw_pgd(void); | |||
24 | /* check if OFW was detected during boot */ | 24 | /* check if OFW was detected during boot */ |
25 | extern bool olpc_ofw_present(void); | 25 | extern bool olpc_ofw_present(void); |
26 | 26 | ||
27 | #ifdef CONFIG_OLPC_OPENFIRMWARE_DT | 27 | #ifdef CONFIG_OF_PROMTREE |
28 | extern void olpc_dt_build_devicetree(void); | 28 | extern void olpc_dt_build_devicetree(void); |
29 | #else | 29 | #else |
30 | static inline void olpc_dt_build_devicetree(void) { } | 30 | static inline void olpc_dt_build_devicetree(void) { } |
31 | #endif /* CONFIG_OLPC_OPENFIRMWARE_DT */ | 31 | #endif |
32 | 32 | ||
33 | #endif /* _ASM_X86_OLPC_OFW_H */ | 33 | #endif /* _ASM_X86_OLPC_OFW_H */ |