[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110421081038.GE4024@S2100-06.ap.freescale.net>
Date: Thu, 21 Apr 2011 16:10:39 +0800
From: Shawn Guo <shawn.guo@...escale.com>
To: Wolfram Sang <w.sang@...gutronix.de>
CC: Shawn Guo <shawn.guo@...aro.org>, <linaro-dev@...ts.linaro.org>,
<sameo@...ux.intel.com>, <patches@...aro.org>,
<devicetree-discuss@...ts.ozlabs.org>, <linux-mmc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/5] mmc: sdhci: eliminate sdhci_of_host and sdhci_of_data
On Tue, Apr 19, 2011 at 12:20:53PM +0200, Wolfram Sang wrote:
> On Fri, Mar 25, 2011 at 04:48:48PM +0800, Shawn Guo wrote:
> > The patch is to migrate the use of sdhci_of_host and sdhci_of_data
> > to sdhci_pltfm_host and sdhci_pltfm_data, so that the former pair can
> > be eliminated.
> >
> > Signed-off-by: Shawn Guo <shawn.guo@...aro.org>
> > ---
>
> [...]
>
> > diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h
> > index a3e4be0..12afe86 100644
> > --- a/drivers/mmc/host/sdhci-pltfm.h
> > +++ b/drivers/mmc/host/sdhci-pltfm.h
> > @@ -19,6 +19,10 @@
> > struct sdhci_pltfm_host {
> > struct clk *clk;
> > u32 scratchpad; /* to handle quirks across io-accessor calls */
> > +
> > + /* migrate from sdhci_of_host */
> > + unsigned int clock;
> > + u16 xfer_mode_shadow;
>
> xfer_mode_shadow can be merged into scratchpad. They both fix the same
> issue.
>
Yeah.
--
Regards,
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists