aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/pxamci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index 2c5a91bb8ec3..1956a3df7cf3 100644
--- a/drivers/mmc/host/pxamci.c
+++ b/drivers/mmc/host/pxamci.c
@@ -83,7 +83,7 @@ struct pxamci_host {
83static inline void pxamci_init_ocr(struct pxamci_host *host) 83static inline void pxamci_init_ocr(struct pxamci_host *host)
84{ 84{
85#ifdef CONFIG_REGULATOR 85#ifdef CONFIG_REGULATOR
86 host->vcc = regulator_get(mmc_dev(host->mmc), "vmmc"); 86 host->vcc = regulator_get_optional(mmc_dev(host->mmc), "vmmc");
87 87
88 if (IS_ERR(host->vcc)) 88 if (IS_ERR(host->vcc))
89 host->vcc = NULL; 89 host->vcc = NULL;