Skip to contentSkip to conversation

dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes

PATCH Applied Rob Herring 3 participants 3 messages Apr 10, 2023 – Apr 12, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes

qcom_hidma uses of_dma_configure() which is declared in of_device.h. platform_device.h and of_device.h get implicitly included by of_platform.h, but that is going to be removed soon.

---
 drivers/dma/qcom/hidma_mgmt.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/dma/qcom/hidma_mgmt.c +2 -0
index 62026607f3f8..05e96b31d871 100644
@@ -12,6 +12,8 @@
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
+#include <linux/of_device.h>
+#include <linux/platform_device.h>
 #include <linux/module.h>
 #include <linux/uaccess.h>
 #include <linux/slab.h>
Signature · 1 line
2.39.2
maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 3 lines · Rob Herring

qcom_hidma uses of_dma_configure() which is declared in of_device.h. platform_device.h and of_device.h get implicitly included by of_platform.h, but that is going to be removed soon.

Applied, thanks

Signature · 1 line
~Vinod