usb: don't enter usb subdirectories directly
authorFelipe Balbi <balbi@ti.com>
Thu, 7 Apr 2011 07:59:34 +0000 (10:59 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:34:53 +0000 (16:34 -0700)
Instead, make we enter usb/ directory on all
needed cases and enter the subdirectories from
drivers/usb/Makefile.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/Makefile
drivers/usb/Makefile

index ad67b7d4c271bcb01c5262146e28bb86251e717f..0cf73a90fca89cdf5955423dff3dbbdfe66d154f 100644 (file)
@@ -64,12 +64,10 @@ obj-$(CONFIG_ATA_OVER_ETH)  += block/aoe/
 obj-$(CONFIG_PARIDE)           += block/paride/
 obj-$(CONFIG_TC)               += tc/
 obj-$(CONFIG_UWB)              += uwb/
-obj-$(CONFIG_USB_OTG_UTILS)    += usb/otg/
+obj-$(CONFIG_USB_OTG_UTILS)    += usb/
 obj-$(CONFIG_USB)              += usb/
-obj-$(CONFIG_USB_MUSB_HDRC)    += usb/musb/
-obj-$(CONFIG_USB_RENESAS_USBHS)        += usb/renesas_usbhs/
 obj-$(CONFIG_PCI)              += usb/
-obj-$(CONFIG_USB_GADGET)       += usb/gadget/
+obj-$(CONFIG_USB_GADGET)       += usb/
 obj-$(CONFIG_SERIO)            += input/serio/
 obj-$(CONFIG_GAMEPORT)         += input/gameport/
 obj-$(CONFIG_INPUT)            += input/
index 239f050efa35ccff2eb8e44191a27898c9e743cc..9bc8aeb3c96f873fbe274de39cb06eb496c970bd 100644 (file)
@@ -45,3 +45,8 @@ obj-$(CONFIG_EARLY_PRINTK_DBGP)       += early/
 
 obj-$(CONFIG_USB_ATM)          += atm/
 obj-$(CONFIG_USB_SPEEDTOUCH)   += atm/
+
+obj-$(CONFIG_USB_MUSB_HDRC)    += musb/
+obj-$(CONFIG_USB_RENESAS_USBHS)        += renesas_usbhs/
+obj-$(CONFIG_USB_OTG_UTILS)    += otg/
+obj-$(CONFIG_USB_GADGET)       += gadget/