linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes
@ 2023-04-10 23:26 Rob Herring
  2023-04-11  1:07 ` Sinan Kaya
  2023-04-12 17:13 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2023-04-10 23:26 UTC (permalink / raw)
  To: Sinan Kaya, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Vinod Koul
  Cc: linux-arm-kernel, linux-arm-msm, dmaengine, linux-kernel

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 <robh@kernel.org>
---
 drivers/dma/qcom/hidma_mgmt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/dma/qcom/hidma_mgmt.c b/drivers/dma/qcom/hidma_mgmt.c
index 62026607f3f8..05e96b31d871 100644
--- a/drivers/dma/qcom/hidma_mgmt.c
+++ b/drivers/dma/qcom/hidma_mgmt.c
@@ -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>
-- 
2.39.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes
  2023-04-10 23:26 [PATCH] dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes Rob Herring
@ 2023-04-11  1:07 ` Sinan Kaya
  2023-04-12 17:13 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Sinan Kaya @ 2023-04-11  1:07 UTC (permalink / raw)
  To: Rob Herring, Sinan Kaya, Andy Gross, Bjorn Andersson,
	Konrad Dybcio, Vinod Koul
  Cc: linux-arm-kernel, linux-arm-msm, dmaengine, linux-kernel

On Mon, 2023-04-10 at 18:26 -0500, Rob Herring wrote:
> 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 <robh@kernel.org>
> 
> ---

Acked-by: Sinan Kaya <okaya@kernel.org>



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes
  2023-04-10 23:26 [PATCH] dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes Rob Herring
  2023-04-11  1:07 ` Sinan Kaya
@ 2023-04-12 17:13 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2023-04-12 17:13 UTC (permalink / raw)
  To: Rob Herring
  Cc: Sinan Kaya, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	linux-arm-kernel, linux-arm-msm, dmaengine, linux-kernel

On 10-04-23, 18:26, Rob Herring wrote:
> 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

-- 
~Vinod

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-12 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 23:26 [PATCH] dmaengine: qcom_hidma: Add explicit platform_device.h and of_device.h includes Rob Herring
2023-04-11  1:07 ` Sinan Kaya
2023-04-12 17:13 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).