diff options
author | Manjunath Goudar <manjunath.goudar@linaro.org> | 2013-06-03 20:46:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-03 11:03:18 -0700 |
commit | 31fc518b94e93d1215b70f9f78d9491ce77cba86 (patch) | |
tree | 0e17a3fbc205e7e0feafba4a49c6701b40e2129a /drivers/usb/host/ohci.h | |
parent | 928fb68e2357be8d82efd03d1a8555d8fa0713e6 (diff) | |
download | op-kernel-dev-31fc518b94e93d1215b70f9f78d9491ce77cba86.zip op-kernel-dev-31fc518b94e93d1215b70f9f78d9491ce77cba86.tar.gz |
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/host/ohci.h')
-rw-r--r-- | drivers/usb/host/ohci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 3b58482..e2e5faa 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 |