dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes
Subsystems (3)
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.
Signed-off-by Rob Herring <[email protected]>
--- drivers/dma/qcom/hidma_mgmt.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/dma/qcom/hidma_mgmt.c +2 -0
@@ -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
Quoted 5 lines · Rob Herring
qcom_hidmausesof_dma_configure()which is declared inof_device.h.
platform_device.handof_device.hget implicitly included byof_platform.h,
Quoted 7 lines
but that is going to be removed soon.
Signed-off-by Rob Herring <[email protected]>---
Acked-by Sinan Kaya <[email protected]>
Quoted 3 lines · Rob Herring
qcom_hidmausesof_dma_configure()which is declared inof_device.h.platform_device.handof_device.hget implicitly included byof_platform.h, but that is going to be removed soon.
Applied, thanks
Signature · 1 line
~Vinod