On Tue, Sep 28, 2010 at 02:36:41PM +0200, Wolfram Sang wrote: > We need to carry some information per host, e.g. the clock. Add a > structure for it and initialize it in the generic part. > > Signed-off-by: Wolfram Sang <[email protected]> > --- [...] > +++ b/drivers/mmc/host/sdhci-pltfm.h > @@ -11,8 +11,14 @@ > #ifndef _DRIVERS_MMC_SDHCI_PLTFM_H > #define _DRIVERS_MMC_SDHCI_PLTFM_H > > +#include <linux/clk.h> > #include <linux/sdhci-pltfm.h> > > +struct sdhci_pltfm_host { > + struct clk *clk; > + u32 scratchpad; /* to handle quirks across io-accessor calls */
#include <linux/types.h> for u32. Otherwise, looks good. Acked-by: Anton Vorontsov <[email protected]> Thanks, -- Anton Vorontsov email: [email protected] irc://irc.freenode.net/bd2 -- 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
