Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michal Sojka and committed by
Greg Kroah-Hartman
aa923ef1 304f7e5e

+3 -1
+3 -1
drivers/usb/common/Makefile
··· 2 2 # Makefile for the usb common parts. 3 3 # 4 4 5 - obj-$(CONFIG_USB_COMMON) += usb-common.o 5 + obj-$(CONFIG_USB_COMMON) += usb-common.o 6 + usb-common-y += common.o 7 + 6 8 obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
drivers/usb/common/usb-common.c drivers/usb/common/common.c