Merge tag 'dma-mapping-5.4' of git://git.infradead.org/users/hch/dma-mapping
[linux-2.6-block.git] / arch / m68k / kernel / dma.c
index 35064150e348981ccab837dfe1145d86f9de1406..3fab684cc0db0b3f67ef346f2e7a15989e2d0260 100644 (file)
@@ -78,12 +78,3 @@ void arch_sync_dma_for_device(struct device *dev, phys_addr_t handle,
                break;
        }
 }
-
-void arch_setup_pdev_archdata(struct platform_device *pdev)
-{
-       if (pdev->dev.coherent_dma_mask == DMA_MASK_NONE &&
-           pdev->dev.dma_mask == NULL) {
-               pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
-               pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
-       }
-}