aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r--arch/powerpc/kernel/prom.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 911ec77a42d2..17c41fefecf2 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -1153,20 +1153,6 @@ int machine_is_compatible(const char *compat)
1153} 1153}
1154EXPORT_SYMBOL(machine_is_compatible); 1154EXPORT_SYMBOL(machine_is_compatible);
1155 1155
1156/**
1157 * Find the device_node with a given full_name.
1158 */
1159struct device_node *find_path_device(const char *path)
1160{
1161 struct device_node *np;
1162
1163 for (np = allnodes; np != 0; np = np->allnext)
1164 if (np->full_name != 0 && strcasecmp(np->full_name, path) == 0)
1165 return np;
1166 return NULL;
1167}
1168EXPORT_SYMBOL(find_path_device);
1169
1170/******* 1156/*******
1171 * 1157 *
1172 * New implementation of the OF "find" APIs, return a refcounted 1158 * New implementation of the OF "find" APIs, return a refcounted