* [PATCH] ata: pata_mpc52xx: Prepare cleanup of powerpc's asm/prom.h
@ 2022-04-01 17:18 Christophe Leroy
2022-04-02 8:59 ` Sergey Shtylyov
2022-04-04 2:35 ` Damien Le Moal
0 siblings, 2 replies; 3+ messages in thread
From: Christophe Leroy @ 2022-04-01 17:18 UTC (permalink / raw)
To: Sergey Shtylyov, Damien Le Moal; +Cc: Christophe Leroy, linux-kernel, linux-ide
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/ata/pata_mpc52xx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 3250ef317df6..03b6ae37a578 100644
--- a/drivers/ata/pata_mpc52xx.c
+++ b/drivers/ata/pata_mpc52xx.c
@@ -19,11 +19,12 @@
#include <linux/gfp.h>
#include <linux/delay.h>
#include <linux/libata.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/types.h>
#include <asm/cacheflush.h>
-#include <asm/prom.h>
#include <asm/mpc52xx.h>
#include <linux/fsl/bestcomm/bestcomm.h>
--
2.35.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ata: pata_mpc52xx: Prepare cleanup of powerpc's asm/prom.h
2022-04-01 17:18 [PATCH] ata: pata_mpc52xx: Prepare cleanup of powerpc's asm/prom.h Christophe Leroy
@ 2022-04-02 8:59 ` Sergey Shtylyov
2022-04-04 2:35 ` Damien Le Moal
1 sibling, 0 replies; 3+ messages in thread
From: Sergey Shtylyov @ 2022-04-02 8:59 UTC (permalink / raw)
To: Christophe Leroy, Damien Le Moal; +Cc: linux-kernel, linux-ide
On 4/1/22 8:18 PM, 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
>
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
[...]
MBR, Sergey
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ata: pata_mpc52xx: Prepare cleanup of powerpc's asm/prom.h
2022-04-01 17:18 [PATCH] ata: pata_mpc52xx: Prepare cleanup of powerpc's asm/prom.h Christophe Leroy
2022-04-02 8:59 ` Sergey Shtylyov
@ 2022-04-04 2:35 ` Damien Le Moal
1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2022-04-04 2:35 UTC (permalink / raw)
To: Christophe Leroy, Sergey Shtylyov; +Cc: linux-kernel, linux-ide
On 4/2/22 02:18, 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
>
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Applied to for-5.19. Thanks !
> ---
> drivers/ata/pata_mpc52xx.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
> index 3250ef317df6..03b6ae37a578 100644
> --- a/drivers/ata/pata_mpc52xx.c
> +++ b/drivers/ata/pata_mpc52xx.c
> @@ -19,11 +19,12 @@
> #include <linux/gfp.h>
> #include <linux/delay.h>
> #include <linux/libata.h>
> +#include <linux/of_address.h>
> +#include <linux/of_irq.h>
> #include <linux/of_platform.h>
> #include <linux/types.h>
>
> #include <asm/cacheflush.h>
> -#include <asm/prom.h>
> #include <asm/mpc52xx.h>
>
> #include <linux/fsl/bestcomm/bestcomm.h>
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-04 2:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 17:18 [PATCH] ata: pata_mpc52xx: Prepare cleanup of powerpc's asm/prom.h Christophe Leroy
2022-04-02 8:59 ` Sergey Shtylyov
2022-04-04 2:35 ` Damien Le Moal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.