Re: [PATCH 2/5] mmc: sdhci: eliminate sdhci_of_host and sdhci_of_data

From: Shawn Guo
Date: Thu Apr 21 2011 - 04:07:00 EST


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@xxxxxxxxxx>
> > ---
>
> [...]
>
> > 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/