From: Andrew Bresticker Date: Fri, 3 Oct 2014 08:35:26 +0000 (+0300) Subject: xhci: Introduce xhci_init_driver() X-Git-Tag: fixes-for-v3.18-merge-window~16^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1885d9a33753b73cbbe3f8efde4a852ecca08674;p=pandora-kernel.git xhci: Introduce xhci_init_driver() Since the struct hc_driver is mostly the same across the xhci-pci, xhci-plat, and the upcoming xhci-tegra driver, introduce the function xhci_init_driver() which will populate the hc_driver with the default xHCI operations. The caller must supply a setup function which will be used as the hc_driver's reset callback. Note that xhci-plat also overrides the default ->start() callback so that it can do rcar-specific initialization. Signed-off-by: Andrew Bresticker Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed