diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/iommu.c')
-rw-r--r-- | arch/powerpc/platforms/cell/iommu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/iommu.c b/arch/powerpc/platforms/cell/iommu.c index 592c3d51b817..ae9fc7bc17d6 100644 --- a/arch/powerpc/platforms/cell/iommu.c +++ b/arch/powerpc/platforms/cell/iommu.c | |||
@@ -1037,6 +1037,8 @@ static int __init cell_iommu_fixed_mapping_init(void) | |||
1037 | 1037 | ||
1038 | /* The fixed mapping is only supported on axon machines */ | 1038 | /* The fixed mapping is only supported on axon machines */ |
1039 | np = of_find_node_by_name(NULL, "axon"); | 1039 | np = of_find_node_by_name(NULL, "axon"); |
1040 | of_node_put(np); | ||
1041 | |||
1040 | if (!np) { | 1042 | if (!np) { |
1041 | pr_debug("iommu: fixed mapping disabled, no axons found\n"); | 1043 | pr_debug("iommu: fixed mapping disabled, no axons found\n"); |
1042 | return -1; | 1044 | return -1; |