소스 검색

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>
Peter Chen 11 년 전
부모
커밋
f4cbd33fd5
3개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/usb/Makefile
  2. 5 0
      drivers/usb/common/Makefile
  3. 0 0
      drivers/usb/common/usb-common.c

+ 1 - 1
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/

+ 5 - 0
drivers/usb/common/Makefile

@@ -0,0 +1,5 @@
+#
+# Makefile for the usb common parts.
+#
+
+obj-$(CONFIG_USB_COMMON) += usb-common.o

+ 0 - 0
drivers/usb/usb-common.c → drivers/usb/common/usb-common.c