diff options
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 860c88b2f6d1..caef555f2dc0 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1072,25 +1072,6 @@ int of_n_size_cells(struct device_node* np) | |||
1072 | } | 1072 | } |
1073 | EXPORT_SYMBOL(of_n_size_cells); | 1073 | EXPORT_SYMBOL(of_n_size_cells); |
1074 | 1074 | ||
1075 | /** | ||
1076 | * Construct and return a list of the device_nodes with a given name. | ||
1077 | */ | ||
1078 | struct device_node *find_devices(const char *name) | ||
1079 | { | ||
1080 | struct device_node *head, **prevp, *np; | ||
1081 | |||
1082 | prevp = &head; | ||
1083 | for (np = allnodes; np != 0; np = np->allnext) { | ||
1084 | if (np->name != 0 && strcasecmp(np->name, name) == 0) { | ||
1085 | *prevp = np; | ||
1086 | prevp = &np->next; | ||
1087 | } | ||
1088 | } | ||
1089 | *prevp = NULL; | ||
1090 | return head; | ||
1091 | } | ||
1092 | EXPORT_SYMBOL(find_devices); | ||
1093 | |||
1094 | /** Checks if the given "compat" string matches one of the strings in | 1075 | /** Checks if the given "compat" string matches one of the strings in |
1095 | * the device's "compatible" property | 1076 | * the device's "compatible" property |
1096 | */ | 1077 | */ |