summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjunath Goudar <manjunath.goudar@linaro.org>2013-06-03 20:46:09 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-03 11:03:18 -0700
commit31fc518b94e93d1215b70f9f78d9491ce77cba86 (patch)
tree0e17a3fbc205e7e0feafba4a49c6701b40e2129a
parent928fb68e2357be8d82efd03d1a8555d8fa0713e6 (diff)
downloadlinux-31fc518b94e93d1215b70f9f78d9491ce77cba86.tar.bz2
USB: OHCI: add a name for the platform-private field
This patch adds an ohci->priv field for private use by OHCI platform drivers. 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: Manjunath Goudar <manjunath.goudar@linaro.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/host/ohci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index 3b5848222463..e2e5faa5a402 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -421,6 +421,9 @@ struct ohci_hcd {
struct dentry *debug_periodic;
struct dentry *debug_registers;
#endif
+ /* platform-specific data -- must come last */
+ unsigned long priv[0] __aligned(sizeof(s64));
+
};
#ifdef CONFIG_PCI