diff options
Diffstat (limited to 'arch/powerpc/platforms/ps3/system-bus.c')
-rw-r--r-- | arch/powerpc/platforms/ps3/system-bus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c index 3f763c5284a..e34b305a7a5 100644 --- a/arch/powerpc/platforms/ps3/system-bus.c +++ b/arch/powerpc/platforms/ps3/system-bus.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <asm/udbg.h> | 27 | #include <asm/udbg.h> |
28 | #include <asm/lv1call.h> | 28 | #include <asm/lv1call.h> |
29 | #include <asm/firmware.h> | 29 | #include <asm/firmware.h> |
30 | #include <asm/iommu.h> | 30 | #include <asm/cell-regs.h> |
31 | 31 | ||
32 | #include "platform.h" | 32 | #include "platform.h" |
33 | 33 | ||
@@ -694,7 +694,7 @@ static int ps3_dma_supported(struct device *_dev, u64 mask) | |||
694 | return mask >= DMA_BIT_MASK(32); | 694 | return mask >= DMA_BIT_MASK(32); |
695 | } | 695 | } |
696 | 696 | ||
697 | static struct dma_mapping_ops ps3_sb_dma_ops = { | 697 | static struct dma_map_ops ps3_sb_dma_ops = { |
698 | .alloc_coherent = ps3_alloc_coherent, | 698 | .alloc_coherent = ps3_alloc_coherent, |
699 | .free_coherent = ps3_free_coherent, | 699 | .free_coherent = ps3_free_coherent, |
700 | .map_sg = ps3_sb_map_sg, | 700 | .map_sg = ps3_sb_map_sg, |
@@ -704,7 +704,7 @@ static struct dma_mapping_ops ps3_sb_dma_ops = { | |||
704 | .unmap_page = ps3_unmap_page, | 704 | .unmap_page = ps3_unmap_page, |
705 | }; | 705 | }; |
706 | 706 | ||
707 | static struct dma_mapping_ops ps3_ioc0_dma_ops = { | 707 | static struct dma_map_ops ps3_ioc0_dma_ops = { |
708 | .alloc_coherent = ps3_alloc_coherent, | 708 | .alloc_coherent = ps3_alloc_coherent, |
709 | .free_coherent = ps3_free_coherent, | 709 | .free_coherent = ps3_free_coherent, |
710 | .map_sg = ps3_ioc0_map_sg, | 710 | .map_sg = ps3_ioc0_map_sg, |