diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-10-15 18:58:02 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-10-15 18:58:02 +0200 |
commit | 526b5b3ed97bac22ed0c9feed97adcdc3a25244c (patch) | |
tree | 73ef4a838e5deb9c9865a5ce789d08ac567e9edf /arch/microblaze/include/asm/prom.h | |
parent | of: merge of_read_number() an of_read_ulong() (diff) | |
download | linux-526b5b3ed97bac22ed0c9feed97adcdc3a25244c.tar.xz linux-526b5b3ed97bac22ed0c9feed97adcdc3a25244c.zip |
of: merge of_node_get(), of_node_put() and of_find_all_nodes()
Merge common code between Sparc, PowerPC and Microblaze.
Sparc differs in the implementation at this point, so this patch uses
a #ifdef to handle sparc differently for now. The merging of
implementations will occur in a later patch
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/microblaze/include/asm/prom.h')
-rw-r--r-- | arch/microblaze/include/asm/prom.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h index d4f57ffdae3f..c92b4a9e4397 100644 --- a/arch/microblaze/include/asm/prom.h +++ b/arch/microblaze/include/asm/prom.h @@ -40,10 +40,6 @@ extern struct device_node *of_chosen; extern struct device_node *allnodes; /* temporary while merging */ extern rwlock_t devtree_lock; /* temporary while merging */ -extern struct device_node *of_find_all_nodes(struct device_node *prev); -extern struct device_node *of_node_get(struct device_node *node); -extern void of_node_put(struct device_node *node); - /* For scanning the flat device-tree at boot time */ extern int __init of_scan_flat_dt(int (*it)(unsigned long node, const char *uname, int depth, |