Re: [RFC] sdhci_pltfm: pass platform_data on custom init-call

2010-09-27 Thread Peppe CAVALLARO
On 09/27/2010 04:47 AM, zhangfei gao wrote: On Tue, Sep 21, 2010 at 8:56 PM, Wolfram Sang w.s...@pengutronix.de 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

Re: [RFC] sdhci_pltfm: pass platform_data on custom init-call

2010-09-26 Thread zhangfei gao
On Tue, Sep 21, 2010 at 8:56 PM, Wolfram Sang w.s...@pengutronix.de 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

[RFC] sdhci_pltfm: pass platform_data on custom init-call

2010-09-21 Thread Wolfram Sang
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