* + sdhci-pltfm-implement-platform-data-passing-fix.patch added to -mm tree
@ 2010-04-23 18:33 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-04-23 18:33 UTC (permalink / raw)
To: mm-commits
Cc: avorontsov, ben, david.vrabel, linux-mmc, pierre, richard.rojfors
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 <avorontsov@mvista.com>
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 <richard.rojfors@pelagicore.com>
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Cc: Richard Röjfors <richard.rojfors@pelagicore.com>
Cc: David Vrabel <david.vrabel@csr.com>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Ben Dooks <ben@simtec.co.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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 avorontsov@mvista.com are
sdhci-pltfm-implement-platform-data-passing-fix.patch
--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-23 18:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 18:33 + sdhci-pltfm-implement-platform-data-passing-fix.patch added to -mm tree akpm
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).