Hello, On Sun, Sep 26, 2010 at 05:02:29AM -0400, zhangfei gao wrote: > On Tue, Sep 21, 2010 at 8:30 AM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote: > > +++ b/drivers/mmc/host/sdhci-pltfm.h > > @@ -13,6 +13,11 @@ > > > > Â#include <linux/sdhci-pltfm.h> > > > > +struct sdhci_pltfm_host { > > + Â Â Â struct clk *clk; > > + Â Â Â u32 scratchpad; /* to handle quirks across io-accessor calls */ > > +}; > > + > How about move private data to child driver, and one call back > function alloc_host, then child driver could alloc private data, > including clk. IMHO, this sounds like a bit of overdesign/overcomplication. -- Anton Vorontsov email: cbouatmailru@xxxxxxxxx irc://irc.freenode.net/bd2 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html