Message ID | 20210301073832.919371-3-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Commit | b70925213732a0d9b31905789fc1334be5d0a3fe |
Headers | show |
Series | [1/3] MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma | expand |
On 2/28/21 11:38 PM, Christoph Hellwig wrote: > Ensure this file has a prototype for phys_to_dma and dma_to_phys. > > Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com>
On Mon, Mar 1, 2021 at 8:43 AM Christoph Hellwig <hch@lst.de> wrote: > > Ensure this file has a prototype for phys_to_dma and dma_to_phys. > > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > arch/mips/bmips/dma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
diff --git a/arch/mips/bmips/dma.c b/arch/mips/bmips/dma.c index 49061b870680b9..915ce4b189c15b 100644 --- a/arch/mips/bmips/dma.c +++ b/arch/mips/bmips/dma.c @@ -10,7 +10,7 @@ #include <linux/device.h> #include <linux/dma-direction.h> -#include <linux/dma-mapping.h> +#include <linux/dma-direct.h> #include <linux/init.h> #include <linux/io.h> #include <linux/of.h>
Ensure this file has a prototype for phys_to_dma and dma_to_phys. Signed-off-by: Christoph Hellwig <hch@lst.de> --- arch/mips/bmips/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)