aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/dma-iommu.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-06-24 05:05:25 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-19 19:19:37 -0400
commit2eccacd0974dca73e2151d3fd4c2dacf1a5c7cc2 (patch)
treec40edd404cb93997219a5d4c901d3512a04b23cf /arch/powerpc/kernel/dma-iommu.c
parentd24f9c6999eacd3a7bc2b289e49fcb2bf2fafef2 (diff)
powerpc: Tidy up dma_map_ops after adding new hook
The new get_required_mask hook name is longer than many of but not all of the prior ops. Tidy the struct initializers to align the equal signs using the local whitespace. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Cc: benh@kernel.crashing.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/dma-iommu.c')
-rw-r--r--arch/powerpc/kernel/dma-iommu.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/dma-iommu.c b/arch/powerpc/kernel/dma-iommu.c
index c1ad9db934f6..6f04b9c383a7 100644
--- a/arch/powerpc/kernel/dma-iommu.c
+++ b/arch/powerpc/kernel/dma-iommu.c
@@ -104,13 +104,13 @@ static u64 dma_iommu_get_required_mask(struct device *dev)
104} 104}
105 105
106struct dma_map_ops dma_iommu_ops = { 106struct dma_map_ops dma_iommu_ops = {
107 .alloc_coherent = dma_iommu_alloc_coherent, 107 .alloc_coherent = dma_iommu_alloc_coherent,
108 .free_coherent = dma_iommu_free_coherent, 108 .free_coherent = dma_iommu_free_coherent,
109 .map_sg = dma_iommu_map_sg, 109 .map_sg = dma_iommu_map_sg,
110 .unmap_sg = dma_iommu_unmap_sg, 110 .unmap_sg = dma_iommu_unmap_sg,
111 .dma_supported = dma_iommu_dma_supported, 111 .dma_supported = dma_iommu_dma_supported,
112 .map_page = dma_iommu_map_page, 112 .map_page = dma_iommu_map_page,
113 .unmap_page = dma_iommu_unmap_page, 113 .unmap_page = dma_iommu_unmap_page,
114 .get_required_mask = dma_iommu_get_required_mask, 114 .get_required_mask = dma_iommu_get_required_mask,
115}; 115};
116EXPORT_SYMBOL(dma_iommu_ops); 116EXPORT_SYMBOL(dma_iommu_ops);