aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-10-15 12:58:04 -0400
committerGrant Likely <grant.likely@secretlab.ca>2009-10-15 12:58:04 -0400
commit8482f56803b9498af84bc09e7bc769a5924f6443 (patch)
tree9951afd8639d8e389d3ace2bd1a4c5bf79ed1b71 /arch/powerpc
parent526b5b3ed97bac22ed0c9feed97adcdc3a25244c (diff)
of: merge of_*_flat_dt*() functions
Merge common flattened device tree code between 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 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/prom.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 622769cd1d62..c8b59330b04a 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@@ -34,16 +34,6 @@ extern struct device_node *of_chosen;
34 34
35#define HAVE_ARCH_DEVTREE_FIXUPS 35#define HAVE_ARCH_DEVTREE_FIXUPS
36 36
37/* For scanning the flat device-tree at boot time */
38extern int __init of_scan_flat_dt(int (*it)(unsigned long node,
39 const char *uname, int depth,
40 void *data),
41 void *data);
42extern void* __init of_get_flat_dt_prop(unsigned long node, const char *name,
43 unsigned long *size);
44extern int __init of_flat_dt_is_compatible(unsigned long node, const char *name);
45extern unsigned long __init of_get_flat_dt_root(void);
46
47/* For updating the device tree at runtime */ 37/* For updating the device tree at runtime */
48extern void of_attach_node(struct device_node *); 38extern void of_attach_node(struct device_node *);
49extern void of_detach_node(struct device_node *); 39extern void of_detach_node(struct device_node *);