From: manjunath.goudar@linaro.org (Manjunath Goudar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V3 2/2] USB: OHCI: add a name for the platform-private field
Date: Mon, 3 Jun 2013 20:46:09 +0530 [thread overview]
Message-ID: <1370272569-463-3-git-send-email-manjunath.goudar@linaro.org> (raw)
In-Reply-To: <1370272569-463-1-git-send-email-manjunath.goudar@linaro.org>
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>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg KH <greg@kroah.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb at vger.kernel.org
---
drivers/usb/host/ohci.h | 3 +++
1 file changed, 3 insertions(+)
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
--
1.7.9.5
next prev parent reply other threads:[~2013-06-03 15:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-30 9:50 [PATCH 0/2] USB: OHCI: Splitting ohci-platform into independent driver Manjunath Goudar
2013-05-30 9:50 ` [RFC PATCH 1/2] USB: OHCI: make ohci-platform a separate driver Manjunath Goudar
2013-05-30 17:23 ` Alan Stern
2013-05-30 17:28 ` Sergei Shtylyov
2013-06-03 15:14 ` [PATCH V3 0/2] USB: OHCI: Splitting ohci-platform into independent driver Manjunath Goudar
2013-06-03 15:14 ` [PATCH 1/2] USB: OHCI: make ohci-platform a separate driver Manjunath Goudar
2013-06-03 15:14 ` [PATCH 2/2] USB: OHCI: add a name for the platform-private field Manjunath Goudar
2013-06-03 15:16 ` [PATCH V3 0/2] USB: OHCI: Splitting ohci-platform into independent driver Manjunath Goudar
2013-06-03 15:16 ` [PATCH V3 1/2] USB: OHCI: make ohci-platform a separate driver Manjunath Goudar
2013-06-03 15:16 ` Manjunath Goudar [this message]
2013-06-03 16:01 ` [PATCH V3 2/2] USB: OHCI: add a name for the platform-private field Alan Stern
2013-05-30 9:50 ` [RFC PATCH " Manjunath Goudar
2013-05-30 17:26 ` Alan Stern
2013-05-31 12:08 ` [PATCH V2 0/2] USB: OHCI: Splitting ohci-platform into independent driver manjunath.goudar at linaro.org
[not found] ` <1370002120-19495-1-git-send-email-y>
2013-05-31 12:08 ` [PATCH V2 1/2] USB: OHCI: make ohci-platform a separate driver manjunath.goudar at linaro.org
2013-05-31 14:07 ` Alan Stern
2013-05-31 12:08 ` [PATCH V2 2/2] USB: OHCI: add a name for the platform-private field manjunath.goudar at linaro.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1370272569-463-3-git-send-email-manjunath.goudar@linaro.org \
--to=manjunath.goudar@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).