diff options
author | matt mooney <mfm@muteddisk.com> | 2010-10-06 22:03:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:22:07 -0400 |
commit | 0a2b8a0d1101179fdebc974a7c72b514aede9d9d (patch) | |
tree | 148dce87f8a233184ba3f8b75853d3584510af49 /drivers/usb/host | |
parent | 75d87cdf3cefd2744fabd3f2a558c49cdf36238b (diff) |
usb: makefile cleanup
For all modules, change <module>-objs to <module>-y; remove
if-statements and replace with lists using the kbuild idiom; move
flags to the top of the file; and fix alignment while trying to
maintain the original scheme in each file.
None of the dependencies are modified.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/Makefile | 19 | ||||
-rw-r--r-- | drivers/usb/host/whci/Kbuild | 2 |
2 files changed, 11 insertions, 10 deletions
diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index 19b3a30b1cdb..91c5a1bd1026 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile | |||
@@ -2,15 +2,17 @@ | |||
2 | # Makefile for USB Host Controller Drivers | 2 | # Makefile for USB Host Controller Drivers |
3 | # | 3 | # |
4 | 4 | ||
5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG | 5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
6 | 6 | ||
7 | isp1760-objs := isp1760-hcd.o isp1760-if.o | 7 | isp1760-y := isp1760-hcd.o isp1760-if.o |
8 | fhci-objs := fhci-hcd.o fhci-hub.o fhci-q.o fhci-mem.o \ | 8 | |
9 | fhci-tds.o fhci-sched.o | 9 | fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o |
10 | ifeq ($(CONFIG_FHCI_DEBUG),y) | 10 | fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o |
11 | fhci-objs += fhci-dbg.o | 11 | |
12 | endif | 12 | fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o |
13 | xhci-hcd-objs := xhci.o xhci-mem.o xhci-pci.o xhci-ring.o xhci-hub.o xhci-dbg.o | 13 | |
14 | xhci-hcd-y := xhci.o xhci-mem.o xhci-pci.o | ||
15 | xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o | ||
14 | 16 | ||
15 | obj-$(CONFIG_USB_WHCI_HCD) += whci/ | 17 | obj-$(CONFIG_USB_WHCI_HCD) += whci/ |
16 | 18 | ||
@@ -32,4 +34,3 @@ obj-$(CONFIG_USB_ISP1760_HCD) += isp1760.o | |||
32 | obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o | 34 | obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o |
33 | obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o | 35 | obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o |
34 | obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o | 36 | obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o |
35 | |||
diff --git a/drivers/usb/host/whci/Kbuild b/drivers/usb/host/whci/Kbuild index 11e5040b8337..26df0138079e 100644 --- a/drivers/usb/host/whci/Kbuild +++ b/drivers/usb/host/whci/Kbuild | |||
@@ -3,7 +3,7 @@ obj-$(CONFIG_USB_WHCI_HCD) += whci-hcd.o | |||
3 | whci-hcd-y := \ | 3 | whci-hcd-y := \ |
4 | asl.o \ | 4 | asl.o \ |
5 | debug.o \ | 5 | debug.o \ |
6 | hcd.o \ | 6 | hcd.o \ |
7 | hw.o \ | 7 | hw.o \ |
8 | init.o \ | 8 | init.o \ |
9 | int.o \ | 9 | int.o \ |