Skip to content

Commit

Permalink
usb: Rename usb-common.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Sojka authored and Greg Kroah-Hartman committed Sep 25, 2014
1 parent 304f7e5 commit aa923ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/usb/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.

0 comments on commit aa923ef

Please sign in to comment.