aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/kernel/prom.c')
-rw-r--r--arch/microblaze/kernel/prom.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c
index 8171282a0b0d..f7bd0ee8d481 100644
--- a/arch/microblaze/kernel/prom.c
+++ b/arch/microblaze/kernel/prom.c
@@ -176,27 +176,6 @@ void __init early_init_devtree(void *params)
176 * 176 *
177 *******/ 177 *******/
178 178
179/**
180 * of_find_node_by_phandle - Find a node given a phandle
181 * @handle: phandle of the node to find
182 *
183 * Returns a node pointer with refcount incremented, use
184 * of_node_put() on it when done.
185 */
186struct device_node *of_find_node_by_phandle(phandle handle)
187{
188 struct device_node *np;
189
190 read_lock(&devtree_lock);
191 for (np = allnodes; np != NULL; np = np->allnext)
192 if (np->phandle == handle)
193 break;
194 of_node_get(np);
195 read_unlock(&devtree_lock);
196 return np;
197}
198EXPORT_SYMBOL(of_find_node_by_phandle);
199
200#if defined(CONFIG_DEBUG_FS) && defined(DEBUG) 179#if defined(CONFIG_DEBUG_FS) && defined(DEBUG)
201static struct debugfs_blob_wrapper flat_dt_blob; 180static struct debugfs_blob_wrapper flat_dt_blob;
202 181