diff options
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
| -rw-r--r-- | arch/powerpc/sysdev/dart_iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c index de8c8b542cfa..89639ecbf381 100644 --- a/arch/powerpc/sysdev/dart_iommu.c +++ b/arch/powerpc/sysdev/dart_iommu.c | |||
| @@ -147,7 +147,7 @@ static void dart_flush(struct iommu_table *tbl) | |||
| 147 | } | 147 | } |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | static void dart_build(struct iommu_table *tbl, long index, | 150 | static int dart_build(struct iommu_table *tbl, long index, |
| 151 | long npages, unsigned long uaddr, | 151 | long npages, unsigned long uaddr, |
| 152 | enum dma_data_direction direction, | 152 | enum dma_data_direction direction, |
| 153 | struct dma_attrs *attrs) | 153 | struct dma_attrs *attrs) |
| @@ -184,6 +184,7 @@ static void dart_build(struct iommu_table *tbl, long index, | |||
| 184 | } else { | 184 | } else { |
| 185 | dart_dirty = 1; | 185 | dart_dirty = 1; |
| 186 | } | 186 | } |
| 187 | return 0; | ||
| 187 | } | 188 | } |
| 188 | 189 | ||
| 189 | 190 | ||
