mm: make lowmem_page_address() use PFN_PHYS() for improved portability
[cascardo/linux.git] / include / linux / of_fdt.h
index f0fdd1f..71e1a91 100644 (file)
@@ -99,6 +99,8 @@ extern int early_init_dt_scan_root(unsigned long node, const char *uname,
 /* Other Prototypes */
 extern void unflatten_device_tree(void);
 extern void early_init_devtree(void *);
+#else /* CONFIG_OF_FLATTREE */
+static inline void unflatten_device_tree(void) {}
 #endif /* CONFIG_OF_FLATTREE */
 
 #endif /* __ASSEMBLY__ */