aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_fdt.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-10-15 12:58:07 -0400
committerGrant Likely <grant.likely@secretlab.ca>2009-10-15 12:58:07 -0400
commit82b2928c95d824afd9af3bb41660f3c3fa1f234e (patch)
tree620840d7cf73cde66496d988b35bdfd976c1d7cf /include/linux/of_fdt.h
parent8482f56803b9498af84bc09e7bc769a5924f6443 (diff)
of: merge other miscellaneous prototypes
Merge common prototypes used by Microblaze and PowerPC Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Michal Simek <monstr@monstr.eu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/linux/of_fdt.h')
-rw-r--r--include/linux/of_fdt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h
index b363eadea819..41d432b13553 100644
--- a/include/linux/of_fdt.h
+++ b/include/linux/of_fdt.h
@@ -68,5 +68,19 @@ extern int __init of_flat_dt_is_compatible(unsigned long node,
68 const char *name); 68 const char *name);
69extern unsigned long __init of_get_flat_dt_root(void); 69extern unsigned long __init of_get_flat_dt_root(void);
70 70
71/* Other Prototypes */
72extern void finish_device_tree(void);
73extern void unflatten_device_tree(void);
74extern void early_init_devtree(void *);
75extern int machine_is_compatible(const char *compat);
76extern void print_properties(struct device_node *node);
77extern int prom_n_intr_cells(struct device_node* np);
78extern void prom_get_irq_senses(unsigned char *senses, int off, int max);
79extern int prom_add_property(struct device_node* np, struct property* prop);
80extern int prom_remove_property(struct device_node *np, struct property *prop);
81extern int prom_update_property(struct device_node *np,
82 struct property *newprop,
83 struct property *oldprop);
84
71#endif /* __ASSEMBLY__ */ 85#endif /* __ASSEMBLY__ */
72#endif /* _LINUX_OF_FDT_H */ 86#endif /* _LINUX_OF_FDT_H */