diff options
Diffstat (limited to 'arch/powerpc/platforms/celleb/iommu.c')
-rw-r--r-- | arch/powerpc/platforms/celleb/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/celleb/iommu.c b/arch/powerpc/platforms/celleb/iommu.c index e94de6a24622..755d869d8553 100644 --- a/arch/powerpc/platforms/celleb/iommu.c +++ b/arch/powerpc/platforms/celleb/iommu.c | |||
@@ -37,7 +37,7 @@ static int __init find_dma_window(u64 *io_space_id, u64 *ioid, | |||
37 | const unsigned long *dma_window; | 37 | const unsigned long *dma_window; |
38 | 38 | ||
39 | for_each_node_by_type(dn, "ioif") { | 39 | for_each_node_by_type(dn, "ioif") { |
40 | dma_window = get_property(dn, "toshiba,dma-window", NULL); | 40 | dma_window = of_get_property(dn, "toshiba,dma-window", NULL); |
41 | if (dma_window) { | 41 | if (dma_window) { |
42 | *io_space_id = (dma_window[0] >> 32) & 0xffffffffUL; | 42 | *io_space_id = (dma_window[0] >> 32) & 0xffffffffUL; |
43 | *ioid = dma_window[0] & 0x7ffUL; | 43 | *ioid = dma_window[0] & 0x7ffUL; |