From: Alan Stern Date: Tue, 22 Jan 2013 17:00:26 +0000 (-0500) Subject: USB: EHCI: add a name for the platform-private field X-Git-Tag: v3.8~80^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9debc1793b36124b9304255d2e8b5b6d8b491793;p=platform%2Fkernel%2Flinux-amlogic.git USB: EHCI: add a name for the platform-private field This patch (as1642) adds an ehci->priv field for private use by EHCI platform drivers. The space was provided some time ago, but it didn't have a name. Until now none of the platform drivers has used this private space, but that's about to change in the next patch of this series. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 88f0142..36c3a821 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -225,6 +225,9 @@ struct ehci_hcd { /* one per controller */ #ifdef DEBUG struct dentry *debug_dir; #endif + + /* platform-specific data -- must come last */ + unsigned long priv[0] __aligned(sizeof(s64)); }; /* convert between an HCD pointer and the corresponding EHCI_HCD */