]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/of_fdt.h
Merge branch 'upstream' into for-linus
[karo-tx-linux.git] / include / linux / of_fdt.h
index f0fdd1f4368845f5a368f273fe6641a791c3fc82..71e1a916d3fa9d6fbd6876a7aacc695711123a40 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__ */