summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-04-29 08:35:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 15:29:44 -0700
commitf4cbd33fd5f0587910fa9db403a1b42f1cabf820 (patch)
tree8b1035d1db815ab20627bb448e5a24f1b5e59c64 /drivers
parent0cc4cf6f3049fe174b6698016e046a233a2a6045 (diff)
usb: move usb/usb-common.c to usb/common/usb-common.c
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/Makefile2
-rw-r--r--drivers/usb/common/Makefile5
-rw-r--r--drivers/usb/common/usb-common.c (renamed from drivers/usb/usb-common.c)0
3 files changed, 6 insertions, 1 deletions
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index 9bb672199703..3cba892b83a2 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -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
index 000000000000..9b320d1a11fd
--- /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
index 6dfd30a863c7..6dfd30a863c7 100644
--- a/drivers/usb/usb-common.c
+++ b/drivers/usb/common/usb-common.c