瀏覽代碼

usb: Rename usb-common.c

In the next commit, we will want the usb-common module to be composed of
two object files. Since Kbuild cannot "append" another object to an
existing one, we need to rename usb-common.c to something
else (common.c) and create usb-common.o by linking the wanted objects
together. Currently, usb-common.o comprises only common.o.

Signed-off-by: Michal Sojka <sojka@merica.cz>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Michal Sojka 11 年之前
父節點
當前提交
aa923ef1aa
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      drivers/usb/common/Makefile
  2. 0 0
      drivers/usb/common/common.c

+ 3 - 1
drivers/usb/common/Makefile

@@ -2,5 +2,7 @@
 # Makefile for the usb common parts.
 #
 
-obj-$(CONFIG_USB_COMMON) += usb-common.o
+obj-$(CONFIG_USB_COMMON)	  += usb-common.o
+usb-common-y			  += common.o
+
 obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o

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