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>
This commit is contained in:
Michal Sojka 2014-09-24 22:43:20 +02:00 committed by Greg Kroah-Hartman
parent 304f7e5e1d
commit aa923ef1aa
2 changed files with 3 additions and 1 deletions

View 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