RE: [PATCH 1/3] usb: kconfig: remove dependency FSL_SOC for ehci fsl driver

From: Ran Wang
Date: Tue Jan 08 2019 - 22:24:00 EST


Hi Alan,

> -----Original Message-----
> From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, January 09, 2019 00:12
> To: Ran Wang <ran.wang_1@xxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>; linux-
> usb@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Rajesh Bhagat
> <rajesh.bhagat@xxxxxxx>
> Subject: Re: [PATCH 1/3] usb: kconfig: remove dependency FSL_SOC for ehci
> fsl driver
>
> On Tue, 8 Jan 2019, Ran Wang wrote:
>
> > From: Rajesh Bhagat <rajesh.bhagat@xxxxxxx>
> >
> > CONFIG_USB_EHCI_FSL is not dependent on FSL_SOC, it can be built on
> > non-PPC platforms.
> >
> > Signed-off-by: Rajesh Bhagat <rajesh.bhagat@xxxxxxx>
> > Signed-off-by: Ran Wang <ran.wang_1@xxxxxxx>
> > ---
> > drivers/usb/host/Kconfig | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index
> > 16758b1..53cbc0c 100644
> > --- a/drivers/usb/host/Kconfig
> > +++ b/drivers/usb/host/Kconfig
> > @@ -179,8 +179,8 @@ config XPS_USB_HCD_XILINX
> > devices only.
> >
> > config USB_EHCI_FSL
> > - tristate "Support for Freescale PPC on-chip EHCI USB controller"
> > - depends on FSL_SOC
> > + tristate "Support for Freescale on-chip EHCI USB controller"
> > + depends on USB_EHCI_HCD
>
> This line is not needed. The entire entry lies within an "if USB_EHCI_HCD"
> block.

Got it, will remove it in next version, thanks.

Regards,
Ran

> Alan Stern
>
> > select USB_EHCI_ROOT_HUB_TT
> > ---help---
> > Variation of ARC USB block used in some Freescale chips.
> >