[PATCH 2/5] mmc: sdhci: eliminate sdhci_of_host and sdhci_of_data
Shawn Guo
shawn.guo at freescale.com
Thu Apr 21 18:10:39 EST 2011
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 at linaro.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
More information about the devicetree-discuss
mailing list