diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-08-09 22:53:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-10 03:34:59 -0400 |
commit | 02f7a18935eef0e56d9180fc3c35da6aad1ff3bb (patch) | |
tree | 26435d2e792b4e61f55e41c8e91f106b3e030cd8 /arch/sparc/kernel/dma.c | |
parent | bc0a14f154069cc4e42ea903c2c2b9984a94e4b7 (diff) |
sparc: Use asm-generic/dma-mapping-common.h
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tested-by: Robert Reif <reif@earthlink.net>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
LKML-Reference: <1249872797-1314-5-git-send-email-fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sparc/kernel/dma.c')
-rw-r--r-- | arch/sparc/kernel/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/dma.c b/arch/sparc/kernel/dma.c index 473a3fc7ab5b..15820a918171 100644 --- a/arch/sparc/kernel/dma.c +++ b/arch/sparc/kernel/dma.c | |||
@@ -165,7 +165,7 @@ static void dma32_sync_sg_for_device(struct device *dev, | |||
165 | BUG(); | 165 | BUG(); |
166 | } | 166 | } |
167 | 167 | ||
168 | static const struct dma_map_ops dma32_dma_ops = { | 168 | static struct dma_map_ops dma32_dma_ops = { |
169 | .alloc_coherent = dma32_alloc_coherent, | 169 | .alloc_coherent = dma32_alloc_coherent, |
170 | .free_coherent = dma32_free_coherent, | 170 | .free_coherent = dma32_free_coherent, |
171 | .map_page = dma32_map_page, | 171 | .map_page = dma32_map_page, |
@@ -178,5 +178,5 @@ static const struct dma_map_ops dma32_dma_ops = { | |||
178 | .sync_sg_for_device = dma32_sync_sg_for_device, | 178 | .sync_sg_for_device = dma32_sync_sg_for_device, |
179 | }; | 179 | }; |
180 | 180 | ||
181 | const struct dma_map_ops *dma_ops = &dma32_dma_ops; | 181 | struct dma_map_ops *dma_ops = &dma32_dma_ops; |
182 | EXPORT_SYMBOL(dma_ops); | 182 | EXPORT_SYMBOL(dma_ops); |