MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Mar 2021 07:38:30 +0000 (08:38 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 6 Mar 2021 07:43:40 +0000 (08:43 +0100)
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>
arch/mips/pci/pci-ar2315.c

index f741b8c..c1a655a 100644 (file)
@@ -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>