Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932119AbaGIOIK (ORCPT ); Wed, 9 Jul 2014 10:08:10 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:48984 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755679AbaGIOIH (ORCPT ); Wed, 9 Jul 2014 10:08:07 -0400 Date: Wed, 9 Jul 2014 10:08:05 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Andrew Bresticker cc: Julius Werner , "linux-usb@vger.kernel.org" , Mathias Nyman , "devicetree@vger.kernel.org" , , "linux-tegra@vger.kernel.org" , LKML , "linux-arm-kernel@lists.infradead.org" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Randy Dunlap , Stephen Warren , Thierry Reding , Russell King , Linus Walleij , Greg Kroah-Hartman , Grant Likely , Kishon Vijay Abraham I , Arnd Bergmann Subject: Re: [PATCH v1 6/9] usb: xhci: Add NVIDIA Tegra XHCI host-controller driver In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Jul 2014, Andrew Bresticker wrote: > > I think at the very least you should add a function > > "xhci_default_driver(struct hc_driver *driver)" to xhci-plat.c (or > > even better to xhci.c and use it for PCI as well) that initializes all > > function pointers to the default (internal) symbols, and can then be > > overridden afterwards. > > Currently all XHCI host drivers (PCI, platform, MVEBU) will be built > into the xhci-hcd module. I could append the Tegra driver to that > module or introduce a xhci_init_driver() like EHCI does as Julius > suggests. USB folks, do you have a preference? As the EHCI maintainer, I naturally approve of Julius's suggestion. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/