aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorChristoph Hellwig2021-03-01 08:38:30 +0100
committerThomas Bogendoerfer2021-03-06 08:43:40 +0100
commit81e1d6510dc93c7bf3a129a563ac204897b0bd9e (patch)
treec3c090f9420edc62415a785943dee6fbab0eaf3c /arch/mips/pci
parent1f4e5f0341d831e50a91b4db6a5cb50a8ca76d97 (diff)
MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma
Ensure this file has a prototype for phys_to_dma and dma_to_phys. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r--arch/mips/pci/pci-ar2315.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/pci/pci-ar2315.c b/arch/mips/pci/pci-ar2315.c
index f741b8c528e4..c1a655aee599 100644
--- a/arch/mips/pci/pci-ar2315.c
+++ b/arch/mips/pci/pci-ar2315.c
@@ -31,6 +31,7 @@
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/init.h>
+#include <linux/dma-direct.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/bitops.h>