diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index f99cefbd84e3..e7d0c88f621a 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
@@ -1419,8 +1419,7 @@ struct vio_dev *vio_register_device_node(struct device_node *of_node) | |||
1419 | 1419 | ||
1420 | /* needed to ensure proper operation of coherent allocations | 1420 | /* needed to ensure proper operation of coherent allocations |
1421 | * later, in case driver doesn't set it explicitly */ | 1421 | * later, in case driver doesn't set it explicitly */ |
1422 | dma_set_mask(&viodev->dev, DMA_BIT_MASK(64)); | 1422 | dma_set_mask_and_coherent(&viodev->dev, DMA_BIT_MASK(64)); |
1423 | dma_set_coherent_mask(&viodev->dev, DMA_BIT_MASK(64)); | ||
1424 | } | 1423 | } |
1425 | 1424 | ||
1426 | /* register with generic device framework */ | 1425 | /* register with generic device framework */ |