[PATCH 1/4] xhci: Introduce xhci_init_driver()

2014-10-03 Thread Mathias Nyman
From: Andrew Bresticker 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 wi

[PATCH 1/4] xhci: Introduce xhci_init_driver()

2014-07-09 Thread Andrew Bresticker
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_drive