aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-23 23:50:55 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-24 08:08:59 -0400
commit8c8dc322486d5394dc981bef9276dd0ce6c8d1ce (patch)
tree2275c19196414da08a3834c4b56a1da72e1e3715 /arch/powerpc/kernel/prom.c
parent112466b4d0036b3244509d01dbbf3c8caec52a23 (diff)
[POWERPC] Remove old interface find_path_device
Replaced by of_find_node_by_path. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
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