diff mbox series

[2/3] MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma

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

Commit Message

Christoph Hellwig March 1, 2021, 7:38 a.m. UTC
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(-)

Comments

Florian Fainelli March 1, 2021, 5:29 p.m. UTC | #1
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>
Philippe Mathieu-Daudé March 1, 2021, 5:44 p.m. UTC | #2
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 mbox series

Patch

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>