summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-01-22 12:00:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-22 09:22:13 -0800
commit9debc1793b36124b9304255d2e8b5b6d8b491793 (patch)
tree6ca2af2af27530c69b3f235369be7479d49ce50a
parent9ce45ef86c4c861841ba68b24341dbd9d6834c98 (diff)
downloadlinux-9debc1793b36124b9304255d2e8b5b6d8b491793.tar.gz
linux-9debc1793b36124b9304255d2e8b5b6d8b491793.tar.bz2
linux-9debc1793b36124b9304255d2e8b5b6d8b491793.zip
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 <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/host/ehci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index 88f0142aea0c..36c3a8210595 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 */