From: Manjunath Goudar Date: Mon, 3 Jun 2013 15:16:09 +0000 (+0530) Subject: USB: OHCI: add a name for the platform-private field X-Git-Tag: firefly_0821_release~176^2~5847^2~74 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=31fc518b94e93d1215b70f9f78d9491ce77cba86;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Alan Stern Cc: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- 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 { 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