diff options
Diffstat (limited to 'arch/arm/plat-omap/iovmm.c')
-rw-r--r-- | arch/arm/plat-omap/iovmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c index 544772ede470..936aef1971cd 100644 --- a/arch/arm/plat-omap/iovmm.c +++ b/arch/arm/plat-omap/iovmm.c | |||
@@ -446,7 +446,7 @@ static int map_iovm_area(struct iommu *obj, struct iovm_struct *new, | |||
446 | struct scatterlist *sg; | 446 | struct scatterlist *sg; |
447 | u32 da = new->da_start; | 447 | u32 da = new->da_start; |
448 | 448 | ||
449 | if (!obj || !new || !sgt) | 449 | if (!obj || !sgt) |
450 | return -EINVAL; | 450 | return -EINVAL; |
451 | 451 | ||
452 | BUG_ON(!sgtable_ok(sgt)); | 452 | BUG_ON(!sgtable_ok(sgt)); |