aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/dma.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.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.c')
-rw-r--r--arch/powerpc/kernel/dma.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/dma.c b/arch/powerpc/kernel/dma.c
index 10b136afbf50..8593f53c4f6c 100644
--- a/arch/powerpc/kernel/dma.c
+++ b/arch/powerpc/kernel/dma.c
@@ -149,14 +149,14 @@ static inline void dma_direct_sync_single(struct device *dev,
149#endif 149#endif
150 150
151struct dma_map_ops dma_direct_ops = { 151struct dma_map_ops dma_direct_ops = {
152 .alloc_coherent = dma_direct_alloc_coherent, 152 .alloc_coherent = dma_direct_alloc_coherent,
153 .free_coherent = dma_direct_free_coherent, 153 .free_coherent = dma_direct_free_coherent,
154 .map_sg = dma_direct_map_sg, 154 .map_sg = dma_direct_map_sg,
155 .unmap_sg = dma_direct_unmap_sg, 155 .unmap_sg = dma_direct_unmap_sg,
156 .dma_supported = dma_direct_dma_supported, 156 .dma_supported = dma_direct_dma_supported,
157 .map_page = dma_direct_map_page, 157 .map_page = dma_direct_map_page,
158 .unmap_page = dma_direct_unmap_page, 158 .unmap_page = dma_direct_unmap_page,
159 .get_required_mask = dma_direct_get_required_mask, 159 .get_required_mask = dma_direct_get_required_mask,
160#ifdef CONFIG_NOT_COHERENT_CACHE 160#ifdef CONFIG_NOT_COHERENT_CACHE
161 .sync_single_for_cpu = dma_direct_sync_single, 161 .sync_single_for_cpu = dma_direct_sync_single,
162 .sync_single_for_device = dma_direct_sync_single, 162 .sync_single_for_device = dma_direct_sync_single,