drm/tegra: Include DMA API header where used
authorRobin Murphy <robin.murphy@arm.com>
Mon, 11 Apr 2022 19:49:10 +0000 (20:49 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 15:01:15 +0000 (17:01 +0200)
Even though the IOVA API never actually needed it, iova.h is still
carrying an include of dma-mapping.h, now solely for the sake of not
breaking tegra-drm. Fix that properly.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/hub.c
drivers/gpu/drm/tegra/nvdec.c
drivers/gpu/drm/tegra/plane.c

index c6951cf5d2ca718a33325fd1da31626857a7b681..bfc79c61bca6a2b11e443e87410cf4d7d131970e 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/clk.h>
 #include <linux/debugfs.h>
 #include <linux/delay.h>
+#include <linux/dma-mapping.h>
 #include <linux/iommu.h>
 #include <linux/interconnect.h>
 #include <linux/module.h>
index b8d3174c04c9177448ddaf745e77d65a5ed1b023..5f9b85959fae8a2a2cf4ffebac4e374fa8bc2e48 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <linux/clk.h>
 #include <linux/delay.h>
+#include <linux/dma-mapping.h>
 #include <linux/host1x.h>
 #include <linux/module.h>
 #include <linux/of.h>
index a84f617096792417adafbce019081ec2bb689585..276fe04727302aafc9b72d4abe7c7757d9634d9c 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <linux/clk.h>
 #include <linux/delay.h>
+#include <linux/dma-mapping.h>
 #include <linux/host1x.h>
 #include <linux/iommu.h>
 #include <linux/module.h>
index e0e6938c62003aacded8150080e0e708e4ab0156..e46adb107f777843bcf77960cd15af9bad937d2d 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright (C) 2017 NVIDIA CORPORATION.  All rights reserved.
  */
 
+#include <linux/dma-mapping.h>
 #include <linux/iommu.h>
 #include <linux/interconnect.h>