diff options
Diffstat (limited to 'arch/powerpc/kernel/of_device.c')
-rw-r--r-- | arch/powerpc/kernel/of_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/of_device.c b/arch/powerpc/kernel/of_device.c index 0c8ea7659d92..e2c765f5f3f4 100644 --- a/arch/powerpc/kernel/of_device.c +++ b/arch/powerpc/kernel/of_device.c | |||
@@ -27,7 +27,7 @@ const struct of_device_id *of_match_node(const struct of_device_id *matches, | |||
27 | match &= node->type | 27 | match &= node->type |
28 | && !strcmp(matches->type, node->type); | 28 | && !strcmp(matches->type, node->type); |
29 | if (matches->compatible[0]) | 29 | if (matches->compatible[0]) |
30 | match &= device_is_compatible(node, | 30 | match &= of_device_is_compatible(node, |
31 | matches->compatible); | 31 | matches->compatible); |
32 | if (match) | 32 | if (match) |
33 | return matches; | 33 | return matches; |