1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Contains common dma routines for all powerpc platforms.
5 * Copyright (C) 2019 Shawn Anastasio.
9 #include <linux/dma-noncoherent.h>
11 pgprot_t arch_dma_mmap_pgprot(struct device *dev, pgprot_t prot,
14 if (!dev_is_dma_coherent(dev))
15 return pgprot_noncached(prot);