The patch titled
sdhci-pltfm-implement-platform-data-passing-fix
has been added to the -mm tree. Its filename is
sdhci-pltfm-implement-platform-data-passing-fix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: sdhci-pltfm-implement-platform-data-passing-fix
From: Anton Vorontsov <[email protected]>
On Wed, Mar 17, 2010 at 07:14:03AM +0100, Richard Röjfors wrote:
> On 3/16/10 7:34 PM, Anton Vorontsov wrote:
> > This includes platform ops, quirks and (de)initialization callbacks.
>
> Good idea, just a doc comment below.
[....]
> > +struct sdhci_pltfm_data {
> > + struct sdhci_ops *ops;
> > + unsigned int quirks;
> > + int (*init)(struct sdhci_host *host);
> > + void (*exit)(struct sdhci_host *host);
> > +};
>
> I would like to see this struct kernel-doc:ed.
Suggested-by: Richard Rojfors <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Cc: Richard Röjfors <[email protected]>
Cc: David Vrabel <[email protected]>
Cc: Pierre Ossman <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---
include/linux/sdhci-pltfm.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff -puN
include/linux/sdhci-pltfm.h~sdhci-pltfm-implement-platform-data-passing-fix
include/linux/sdhci-pltfm.h
---
a/include/linux/sdhci-pltfm.h~sdhci-pltfm-implement-platform-data-passing-fix
+++ a/include/linux/sdhci-pltfm.h
@@ -17,6 +17,14 @@
struct sdhci_ops;
struct sdhci_host;
+/**
+ * struct sdhci_pltfm_data - SDHCI platform-specific information & hooks
+ * @ops: optional pointer to the platform-provided SDHCI ops
+ * @quirks: optional SDHCI quirks
+ * @init: optional hook that is called during device probe, before the
+ * driver tries to access any SDHCI registers
+ * @exit: optional hook that is called during device removal
+ */
struct sdhci_pltfm_data {
struct sdhci_ops *ops;
unsigned int quirks;
_
Patches currently in -mm which might be from [email protected] are
sdhci-pltfm-implement-platform-data-passing-fix.patch
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html