[PATCH v3 0/4] Allow xHCI drivers to be built as separate modules

From: Andrew Bresticker
Date: Tue Aug 19 2014 - 13:02:03 EST


It was suggested in the review of the Tegra xHCI driver [1] that we
allow xHCI drivers to be built as individual modules (like EHCI) instead
of building them all into the single xhci-hcd module as they are today.

Patches 1-3 prepare for making the xHCI PCI and platform drivers able
to be built as individual modules and patch 4 actually creates the 3
separate modules (core, platform, PCI).

Based on 3.17-rc1.

Changes from v2:
- fixed typo in xhci_register_plat
- exported another symbol needed by xhci-pci module
Changes from v1:
- rebased on changes introduced by xhci-rcar driver

[1] http://patchwork.ozlabs.org/patch/361265/

Andrew Bresticker (4):
xhci: Introduce xhci_init_driver()
xhci: Check for XHCI_COMP_MODE_QUIRK when disabling D3cold
xhci: Export symbols used by host-controller drivers
xhci: Allow xHCI drivers to be built as separate modules

drivers/usb/host/Kconfig | 5 +++
drivers/usb/host/Makefile | 12 +++---
drivers/usb/host/xhci-dbg.c | 1 +
drivers/usb/host/xhci-pci.c | 80 +++++++----------------------------
drivers/usb/host/xhci-plat.c | 68 ++++++------------------------
drivers/usb/host/xhci-trace.c | 2 +
drivers/usb/host/xhci.c | 97 +++++++++++++++++++++++++++++++++----------
drivers/usb/host/xhci.h | 23 +---------
8 files changed, 116 insertions(+), 172 deletions(-)

--
2.1.0.rc2.206.gedb03e5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/