]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: move usb/usb-common.c to usb/common/usb-common.c
authorPeter Chen <peter.chen@freescale.com>
Tue, 29 Apr 2014 00:35:58 +0000 (08:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:29:44 +0000 (15:29 -0700)
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@ti.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/Makefile
drivers/usb/common/Makefile [new file with mode: 0644]
drivers/usb/common/usb-common.c [moved from drivers/usb/usb-common.c with 100% similarity]

index 9bb67219970373a5706faa8b97b2e6dd52fe0058..3cba892b83a2f5b29ec0e03e69a5393a2bb3e875 100644 (file)
@@ -59,4 +59,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 (file)
index 0000000..9b320d1
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for the usb common parts.
+#
+
+obj-$(CONFIG_USB_COMMON) += usb-common.o