Re: [PATCH 2/2] usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 28, 2014 at 10:59:27AM -0500, Felipe Balbi wrote:
> On Mon, Apr 28, 2014 at 04:29:24PM +0800, Peter Chen wrote:
> > Since usb otg fsm implementation is not related to usb phy.
> > We move it from usb/phy/ to usb/common/, and rename it to
> > reflect its real meaning.
> > 
> > Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx>
> > ---
> >  drivers/usb/common/Makefile                        |    1 +
> >  .../{phy/phy-fsm-usb.c => common/usb-otg-fsm.c}    |    0
> >  drivers/usb/core/Kconfig                           |    9 +++++++++
> >  drivers/usb/phy/Kconfig                            |    9 ---------
> >  drivers/usb/phy/Makefile                           |    1 -
> >  5 files changed, 10 insertions(+), 10 deletions(-)
> >  rename drivers/usb/{phy/phy-fsm-usb.c => common/usb-otg-fsm.c} (100%)
> > 
> > diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile
> > index 9b320d1..7526461 100644
> > --- a/drivers/usb/common/Makefile
> > +++ b/drivers/usb/common/Makefile
> > @@ -3,3 +3,4 @@
> >  #
> >  
> >  obj-$(CONFIG_USB_COMMON) += usb-common.o
> > +obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
> > diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/common/usb-otg-fsm.c
> > similarity index 100%
> > rename from drivers/usb/phy/phy-fsm-usb.c
> > rename to drivers/usb/common/usb-otg-fsm.c
> 
> as I said before, you probably want to drop the dependency on the PHY
> layer, perhaps that can be done as follow up patches...
> 

Yes, will do later, it includes a big job.

-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux