aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorManjunath Goudar <manjunath.goudar@linaro.org>2013-06-03 11:16:09 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-03 14:03:18 -0400
commit31fc518b94e93d1215b70f9f78d9491ce77cba86 (patch)
tree0e17a3fbc205e7e0feafba4a49c6701b40e2129a /drivers/usb
parent928fb68e2357be8d82efd03d1a8555d8fa0713e6 (diff)
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>
Diffstat (limited to 'drivers/usb')
-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 {
421 struct dentry *debug_periodic; 421 struct dentry *debug_periodic;
422 struct dentry *debug_registers; 422 struct dentry *debug_registers;
423#endif 423#endif
424 /* platform-specific data -- must come last */
425 unsigned long priv[0] __aligned(sizeof(s64));
426
424}; 427};
425 428
426#ifdef CONFIG_PCI 429#ifdef CONFIG_PCI