@@ -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;
@@ -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 {