Signed-off-by: Philip Rakity <[email protected]>
Signed-off-by: Kevin Liu <[email protected]>
---
drivers/mmc/host/sdhci-pxav3.c | 2 ++
include/linux/platform_data/pxa_sdhci.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index 3d20c10..3bc86bf 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -297,6 +297,8 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
goto err_cd_req;
}
}
+ if (pdata->nb_vqmmc)
+ host->nb_vqmmc = pdata->nb_vqmmc;
}
host->ops = &pxav3_sdhci_ops;
diff --git a/include/linux/platform_data/pxa_sdhci.h
b/include/linux/platform_data/pxa_sdhci.h
index 27d3156..86e027b 100644
--- a/include/linux/platform_data/pxa_sdhci.h
+++ b/include/linux/platform_data/pxa_sdhci.h
@@ -40,6 +40,7 @@
* @quirks: quirks of platfrom
* @quirks2: quirks2 of platfrom
* @pm_caps: pm_caps of platfrom
+ * @nb_vqmmc: regulator notifier for vqmmc
*/
struct sdhci_pxa_platdata {
unsigned int flags;
@@ -54,6 +55,7 @@ struct sdhci_pxa_platdata {
unsigned int quirks;
unsigned int quirks2;
unsigned int pm_caps;
+ struct notifier_block *nb_vqmmc;
};
struct sdhci_pxa {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html