linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: Prepare cleanup of powerpc's asm/prom.h
@ 2022-04-02 10:21 Christophe Leroy
  2022-04-03  8:50 ` Sergey Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Leroy @ 2022-04-02 10:21 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Alan Stern; +Cc: Christophe Leroy, linux-kernel, linux-usb

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/usb/core/hcd-pci.c     | 1 -
 drivers/usb/host/ohci-ppc-of.c | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 8176bc81a635..f192925f74f7 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -15,7 +15,6 @@
 #ifdef CONFIG_PPC_PMAC
 #include <asm/machdep.h>
 #include <asm/pmac_feature.h>
-#include <asm/prom.h>
 #endif
 
 #include "usb.h"
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c
index 45f7cceb6df3..1960b8dfdba5 100644
--- a/drivers/usb/host/ohci-ppc-of.c
+++ b/drivers/usb/host/ohci-ppc-of.c
@@ -19,9 +19,6 @@
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
 
-#include <asm/prom.h>
-
-
 static int
 ohci_ppc_of_start(struct usb_hcd *hcd)
 {
-- 
2.35.1


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

* Re: [PATCH] usb: Prepare cleanup of powerpc's asm/prom.h
  2022-04-02 10:21 [PATCH] usb: Prepare cleanup of powerpc's asm/prom.h Christophe Leroy
@ 2022-04-03  8:50 ` Sergey Shtylyov
  2022-04-15  8:33   ` Christophe Leroy
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Shtylyov @ 2022-04-03  8:50 UTC (permalink / raw)
  To: Christophe Leroy, Greg Kroah-Hartman, Alan Stern; +Cc: linux-kernel, linux-usb

Hello!

On 4/2/22 1:21 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

   I'm not seeing any headers added in this patch?

> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
> ---
>  drivers/usb/core/hcd-pci.c     | 1 -
>  drivers/usb/host/ohci-ppc-of.c | 3 ---
>  2 files changed, 4 deletions(-)
> 
> diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
> index 8176bc81a635..f192925f74f7 100644
> --- a/drivers/usb/core/hcd-pci.c
> +++ b/drivers/usb/core/hcd-pci.c
> @@ -15,7 +15,6 @@
>  #ifdef CONFIG_PPC_PMAC
>  #include <asm/machdep.h>
>  #include <asm/pmac_feature.h>
> -#include <asm/prom.h>
>  #endif
>  
>  #include "usb.h"
> diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c
> index 45f7cceb6df3..1960b8dfdba5 100644
> --- a/drivers/usb/host/ohci-ppc-of.c
> +++ b/drivers/usb/host/ohci-ppc-of.c
> @@ -19,9 +19,6 @@
>  #include <linux/of_irq.h>
>  #include <linux/of_platform.h>
>  
> -#include <asm/prom.h>
> -
> -
>  static int
>  ohci_ppc_of_start(struct usb_hcd *hcd)
>  {

MBR, Sergey

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

* Re: [PATCH] usb: Prepare cleanup of powerpc's asm/prom.h
  2022-04-03  8:50 ` Sergey Shtylyov
@ 2022-04-15  8:33   ` Christophe Leroy
  0 siblings, 0 replies; 3+ messages in thread
From: Christophe Leroy @ 2022-04-15  8:33 UTC (permalink / raw)
  To: Sergey Shtylyov, Greg Kroah-Hartman, Alan Stern; +Cc: linux-kernel, linux-usb



Le 03/04/2022 à 10:50, Sergey Shtylyov a écrit :
> Hello!
> 
> On 4/2/22 1:21 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
> 
>     I'm not seeing any headers added in this patch?

You are right, my description is a bit of a shortcut.

I'll send v2 with a more detailed description.

Thanks
Christophe

> 
>> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
>> ---
>>   drivers/usb/core/hcd-pci.c     | 1 -
>>   drivers/usb/host/ohci-ppc-of.c | 3 ---
>>   2 files changed, 4 deletions(-)
>>
>> diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
>> index 8176bc81a635..f192925f74f7 100644
>> --- a/drivers/usb/core/hcd-pci.c
>> +++ b/drivers/usb/core/hcd-pci.c
>> @@ -15,7 +15,6 @@
>>   #ifdef CONFIG_PPC_PMAC
>>   #include <asm/machdep.h>
>>   #include <asm/pmac_feature.h>
>> -#include <asm/prom.h>
>>   #endif
>>   
>>   #include "usb.h"
>> diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c
>> index 45f7cceb6df3..1960b8dfdba5 100644
>> --- a/drivers/usb/host/ohci-ppc-of.c
>> +++ b/drivers/usb/host/ohci-ppc-of.c
>> @@ -19,9 +19,6 @@
>>   #include <linux/of_irq.h>
>>   #include <linux/of_platform.h>
>>   
>> -#include <asm/prom.h>
>> -
>> -
>>   static int
>>   ohci_ppc_of_start(struct usb_hcd *hcd)
>>   {
> 
> MBR, Sergey

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

end of thread, other threads:[~2022-04-15  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-02 10:21 [PATCH] usb: Prepare cleanup of powerpc's asm/prom.h Christophe Leroy
2022-04-03  8:50 ` Sergey Shtylyov
2022-04-15  8:33   ` Christophe Leroy

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).