On Tue, Sep 28, 2010 at 02:36:44PM +0200, Wolfram Sang wrote: > The custom init call may need more data to perform its job, so we pass > it a pointer to the platform_data, too. Now, for drivers extending > sdhci-pltfm (like sdhci-cns3xxx), a fixed platform_data is used > according to the platform device id. Because that one does not contain > board specific information, we simply name the board specific > information information priv_pdata and pass it to the init routine as > well. (Note: the old behaviour was that you could override the platform > id specific data with your own. However, one can still do this by using > the "sdhci" id instead of "sdhci-<something>".) > > Signed-off-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx> > --- > > Changes since previous version: > > Rebased and dropped imx-specific stuff as mentioned by zhangfei gao. > > priv_pdata might not be needed as Giuseppe pointed out. Will update with > the next revision of this series, if needed. Yeah, priv_pdata becomes just pdata. Please remove it from the callback. Thanks, -- 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