diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-11-23 22:07:00 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-11-23 22:07:00 -0500 |
commit | bbd33931a08362f78266a4016211a35947b91041 (patch) | |
tree | 6cc38aa6f43c8db7737915ee854e42e1e4f71533 /include | |
parent | 00e38efd90f27518ec96b37b1c7773e3ac529966 (diff) |
of/flattree: Merge unflatten_dt_node
Merge common code between PowerPC and MicroBlaze
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_fdt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index 81231e04e8f3..ace9068e07e8 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h | |||
@@ -69,6 +69,10 @@ extern void *of_get_flat_dt_prop(unsigned long node, const char *name, | |||
69 | unsigned long *size); | 69 | unsigned long *size); |
70 | extern int of_flat_dt_is_compatible(unsigned long node, const char *name); | 70 | extern int of_flat_dt_is_compatible(unsigned long node, const char *name); |
71 | extern unsigned long of_get_flat_dt_root(void); | 71 | extern unsigned long of_get_flat_dt_root(void); |
72 | extern unsigned long unflatten_dt_node(unsigned long mem, unsigned long *p, | ||
73 | struct device_node *dad, | ||
74 | struct device_node ***allnextpp, | ||
75 | unsigned long fpsize); | ||
72 | 76 | ||
73 | /* Other Prototypes */ | 77 | /* Other Prototypes */ |
74 | extern void finish_device_tree(void); | 78 | extern void finish_device_tree(void); |