diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 2f7e6ec215f8..911ec77a42d2 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1110,23 +1110,6 @@ struct device_node *find_type_devices(const char *type) | |||
1110 | } | 1110 | } |
1111 | EXPORT_SYMBOL(find_type_devices); | 1111 | EXPORT_SYMBOL(find_type_devices); |
1112 | 1112 | ||
1113 | /** | ||
1114 | * Returns all nodes linked together | ||
1115 | */ | ||
1116 | struct device_node *find_all_nodes(void) | ||
1117 | { | ||
1118 | struct device_node *head, **prevp, *np; | ||
1119 | |||
1120 | prevp = &head; | ||
1121 | for (np = allnodes; np != 0; np = np->allnext) { | ||
1122 | *prevp = np; | ||
1123 | prevp = &np->next; | ||
1124 | } | ||
1125 | *prevp = NULL; | ||
1126 | return head; | ||
1127 | } | ||
1128 | EXPORT_SYMBOL(find_all_nodes); | ||
1129 | |||
1130 | /** Checks if the given "compat" string matches one of the strings in | 1113 | /** Checks if the given "compat" string matches one of the strings in |
1131 | * the device's "compatible" property | 1114 | * the device's "compatible" property |
1132 | */ | 1115 | */ |