On Tue, Apr 29, 2014 at 08:35:58AM +0800, Peter Chen wrote: > Since we will have more usb-common things, and it will let > usb-common.c be larger and larger, we create a folder named usb/common > for all usb common things. > > Cc: Felipe Balbi <balbi@xxxxxx> > Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx> I'm ok with this if Greg is: Acked-by: Felipe Balbi <balbi@xxxxxx> > --- > drivers/usb/Makefile | 2 +- > drivers/usb/common/Makefile | 5 +++++ > drivers/usb/{ => common}/usb-common.c | 0 > 3 files changed, 6 insertions(+), 1 deletions(-) > create mode 100644 drivers/usb/common/Makefile > rename drivers/usb/{ => common}/usb-common.c (100%) > > diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile > index 1ae2bf3..f0d3332 100644 > --- a/drivers/usb/Makefile > +++ b/drivers/usb/Makefile > @@ -58,4 +58,4 @@ obj-$(CONFIG_USB_CHIPIDEA) += chipidea/ > obj-$(CONFIG_USB_RENESAS_USBHS) += renesas_usbhs/ > obj-$(CONFIG_USB_GADGET) += gadget/ > > -obj-$(CONFIG_USB_COMMON) += usb-common.o > +obj-$(CONFIG_USB_COMMON) += common/ > diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile > new file mode 100644 > index 0000000..9b320d1 > --- /dev/null > +++ b/drivers/usb/common/Makefile > @@ -0,0 +1,5 @@ > +# > +# Makefile for the usb common parts. > +# > + > +obj-$(CONFIG_USB_COMMON) += usb-common.o > diff --git a/drivers/usb/usb-common.c b/drivers/usb/common/usb-common.c > similarity index 100% > rename from drivers/usb/usb-common.c > rename to drivers/usb/common/usb-common.c > -- > 1.7.8 > -- balbi
Attachment:
signature.asc
Description: Digital signature