usb: Rename usb-common.c
authorMichal Sojka <sojka@merica.cz>
Wed, 24 Sep 2014 20:43:20 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2014 15:02:34 +0000 (17:02 +0200)
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>
drivers/usb/common/Makefile
drivers/usb/common/common.c [moved from drivers/usb/common/usb-common.c with 100% similarity]

index 7526461..052c120 100644 (file)
@@ -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