Skip to content

Commit 31fc518

Browse files
Manjunath Goudargregkh
authored andcommitted
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 <[email protected]> Acked-by: Alan Stern <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 928fb68 commit 31fc518

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/usb/host/ohci.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ struct ohci_hcd {
421421
struct dentry *debug_periodic;
422422
struct dentry *debug_registers;
423423
#endif
424+
/* platform-specific data -- must come last */
425+
unsigned long priv[0] __aligned(sizeof(s64));
426+
424427
};
425428

426429
#ifdef CONFIG_PCI

0 commit comments

Comments
 (0)