From: Yoshihiro Shimoda Date: Tue, 24 Nov 2015 11:09:48 +0000 (+0200) Subject: usb: host: xhci: add a platform-private field X-Git-Tag: v4.5-rc1~124^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79a17ddf89173cf3749656e5d3f87d33c196492b;p=platform%2Fkernel%2Flinux-exynos.git usb: host: xhci: add a platform-private field This patch adds an xhci->priv field for private use by XHCI platform drivers. Until now none of the platform drivers has used this private space. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 0b94512..8b46296 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1656,6 +1656,9 @@ struct xhci_hcd { u32 port_status_u0; /* Compliance Mode Timer Triggered every 2 seconds */ #define COMP_MODE_RCVRY_MSECS 2000 + + /* platform-specific data -- must come last */ + unsigned long priv[0] __aligned(sizeof(s64)); }; /* Platform specific overrides to generic XHCI hc_driver ops */