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 17c41fefecf2..860c88b2f6d1 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
| @@ -1091,25 +1091,6 @@ struct device_node *find_devices(const char *name) | |||
| 1091 | } | 1091 | } |
| 1092 | EXPORT_SYMBOL(find_devices); | 1092 | EXPORT_SYMBOL(find_devices); |
| 1093 | 1093 | ||
| 1094 | /** | ||
| 1095 | * Construct and return a list of the device_nodes with a given type. | ||
| 1096 | */ | ||
| 1097 | struct device_node *find_type_devices(const char *type) | ||
| 1098 | { | ||
| 1099 | struct device_node *head, **prevp, *np; | ||
| 1100 | |||
| 1101 | prevp = &head; | ||
| 1102 | for (np = allnodes; np != 0; np = np->allnext) { | ||
| 1103 | if (np->type != 0 && strcasecmp(np->type, type) == 0) { | ||
| 1104 | *prevp = np; | ||
| 1105 | prevp = &np->next; | ||
| 1106 | } | ||
| 1107 | } | ||
| 1108 | *prevp = NULL; | ||
| 1109 | return head; | ||
| 1110 | } | ||
| 1111 | EXPORT_SYMBOL(find_type_devices); | ||
| 1112 | |||
| 1113 | /** Checks if the given "compat" string matches one of the strings in | 1094 | /** Checks if the given "compat" string matches one of the strings in |
| 1114 | * the device's "compatible" property | 1095 | * the device's "compatible" property |
| 1115 | */ | 1096 | */ |
