diff options
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index cc9632c7149e..bcd1c5ed44a3 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1375,7 +1375,7 @@ static void of_node_release(struct kref *kref) | |||
1375 | struct device_node *node = kref_to_device_node(kref); | 1375 | struct device_node *node = kref_to_device_node(kref); |
1376 | struct property *prop = node->properties; | 1376 | struct property *prop = node->properties; |
1377 | 1377 | ||
1378 | if (!OF_IS_DYNAMIC(node)) | 1378 | if (!of_node_check_flag(node, OF_DYNAMIC)) |
1379 | return; | 1379 | return; |
1380 | while (prop) { | 1380 | while (prop) { |
1381 | struct property *next = prop->next; | 1381 | struct property *next = prop->next; |