[PATCH] dmaengine: bestcomm: Prepare cleanup of powerpc's asm/prom.h

Christophe Leroy posted 1 patch 4 years, 2 months ago
drivers/dma/bestcomm/bestcomm.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dmaengine: bestcomm: Prepare cleanup of powerpc's asm/prom.h
Posted by Christophe Leroy 4 years, 2 months ago
powerpc's asm/prom.h brings some headers that it doesn't
need itself.

In order to clean it up, first add missing headers in
users of asm/prom.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
 drivers/dma/bestcomm/bestcomm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/dma/bestcomm/bestcomm.c b/drivers/dma/bestcomm/bestcomm.c
index 8c42e5ca00a9..1822a7034630 100644
--- a/drivers/dma/bestcomm/bestcomm.c
+++ b/drivers/dma/bestcomm/bestcomm.c
@@ -17,7 +17,9 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
 #include <linux/of_device.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-- 
2.35.1
Re: [PATCH] dmaengine: bestcomm: Prepare cleanup of powerpc's asm/prom.h
Posted by Vinod Koul 4 years, 2 months ago
On 02-04-22, 11:54, Christophe Leroy wrote:
> powerpc's asm/prom.h brings some headers that it doesn't
> need itself.
> 
> In order to clean it up, first add missing headers in
> users of asm/prom.h

Applied, thanks

-- 
~Vinod