[PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call

2010-10-15 Thread Wolfram Sang
The custom init call may need more data to perform its job, so we pass it a pointer to pdata, too. Also, always use the platform_id specific data even if platform_data is present. Doing that, platform_data can additionally be parsed by init() for board-specific information (via sdhci->mmc->parent).

[PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call

2010-10-11 Thread Wolfram Sang
The custom init call may need more data to perform its job, so we pass it a pointer to pdata, too. Also, always use the platform_id specific data even if platform_data is present. Doing that, platform_data can additionally be parsed by init() for board-specific information (via sdhci->mmc->parent).

Re: [PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call

2010-10-11 Thread Wolfram Sang
On Thu, Sep 30, 2010 at 01:42:02PM +0400, Anton Vorontsov wrote: > On Thu, Sep 30, 2010 at 10:31:58AM +0200, Lothar Waßmann wrote: > > > The custom init call may need more data to perform its job, so we pass > > > it a pointer to pdata, too. Also, always use the platform_id specific > > > data even

Re: [PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call

2010-09-30 Thread Anton Vorontsov
On Thu, Sep 30, 2010 at 10:31:58AM +0200, Lothar Waßmann wrote: > > The custom init call may need more data to perform its job, so we pass > > it a pointer to pdata, too. Also, always use the platform_id specific > > data even if platform_data is present. Doing that, platform_data can > > additiona

Re: [PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call

2010-09-30 Thread Lothar Waßmann
Hi, Wolfram Sang writes: > The custom init call may need more data to perform its job, so we pass > it a pointer to pdata, too. Also, always use the platform_id specific > data even if platform_data is present. Doing that, platform_data can > additionally be parsed by init() for board-specific inf

[PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call

2010-09-29 Thread Wolfram Sang
The custom init call may need more data to perform its job, so we pass it a pointer to pdata, too. Also, always use the platform_id specific data even if platform_data is present. Doing that, platform_data can additionally be parsed by init() for board-specific information (via sdhci->mmc->parent).