From: Michal Sojka Date: Wed, 24 Sep 2014 20:43:20 +0000 (+0200) Subject: usb: Rename usb-common.c X-Git-Tag: v3.18-rc1~131^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aa923ef1aa39473b7d1f413c73a3e1d19ebde65d;p=karo-tx-linux.git 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 Acked-by: Felipe Balbi Tested-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile index 752646167e1e..052c12069c24 100644 --- a/drivers/usb/common/Makefile +++ b/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 diff --git a/drivers/usb/common/usb-common.c b/drivers/usb/common/common.c similarity index 100% rename from drivers/usb/common/usb-common.c rename to drivers/usb/common/common.c