commit | a50396a40fa796787eeef7143d17268dbecc79ef | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@marvell.com> | Tue Feb 16 21:08:21 2016 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 29 11:03:26 2016 +0100 |
tree | 80c7a41b258b57ec860c65b5e66d6e214e39775c | |
parent | 070e6d3ff5a69694fd354b705e04007e6630da48 [diff] |
mmc: sdhci-msm: factorise sdhci_msm_pdata outisde of sdhci_msm_host There's no need to allocate one sdhci_msm_pdata for each sdhci_msm_host. This patch removes the sdhci_msm_pdata member from sdhci_msm_host and uses one static global sdhci_msm_pdata for all sdhci msm hosts. It also marks sdhci_msm_ops as const. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>