Skip to content

Commit

Permalink
USB: OHCI: add a name for the platform-private field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manjunath Goudar authored and Greg Kroah-Hartman committed Jun 3, 2013
1 parent 928fb68 commit 31fc518
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/host/ohci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31fc518

Please sign in to comment.