From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753978AbaHSRCA (ORCPT ); Tue, 19 Aug 2014 13:02:00 -0400 Received: from mail-oa0-f73.google.com ([209.85.219.73]:58550 "EHLO mail-oa0-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151AbaHSRB5 (ORCPT ); Tue, 19 Aug 2014 13:01:57 -0400 From: Andrew Bresticker To: Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Cc: Alan Stern , Julius Werner , Gregory CLEMENT , Yoshihiro Shimoda , Stephen Warren , Thierry Reding , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Andrew Bresticker Subject: [PATCH v3 0/4] Allow xHCI drivers to be built as separate modules Date: Tue, 19 Aug 2014 10:01:48 -0700 Message-Id: <1408467712-27497-1-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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