USB: OHCI: add a name for the platform-private field
authorManjunath Goudar <manjunath.goudar@linaro.org>
Mon, 3 Jun 2013 15:16:09 +0000 (20:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 18:03:18 +0000 (11:03 -0700)
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>
drivers/usb/host/ohci.h

index 3b58482224637904fbcb42bf43a549c18411c07b..e2e5faa5a40249666626869f9e0b2d87502e325f 100644 (file)
@@ -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