From: Wolfram Sang Date: Fri, 15 Oct 2010 10:21:02 +0000 (+0200) Subject: mmc: sdhci_pltfm: pass more data on custom init call X-Git-Tag: v2.6.37-rc1~65^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=012994f4fa5fc7663b51fa921c85c0a352339b24;p=pandora-kernel.git mmc: sdhci_pltfm: pass more data on custom init call 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). (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-".) Signed-off-by: Wolfram Sang Tested-by: Eric Bénard Signed-off-by: Chris Ball --- Reading git-diff-tree failed