From: Felipe Balbi <balbi@xxxxxx> later patches will use this to pass data from a glue layer to xhci core driver. Signed-off-by: Felipe Balbi <balbi@xxxxxx> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> --- drivers/usb/host/xhci.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index cae8e23..1f0021c 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -40,6 +40,15 @@ /* Section 5.3.3 - MaxPorts */ #define MAX_HC_PORTS 127 +struct xhci_platform_data { + const struct hc_driver *driver; + unsigned int limit_active_eps; + unsigned int quirks; +}; + +#define DEFINE_XHCI_DATA(name) \ + struct xhci_platform_data name##_driver_data __devinitdata + /* * xHCI register interface. * This corresponds to the eXtensible Host Controller Interface (xHCI) -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html