summaryrefslogtreecommitdiffstats
path: root/drivers/mci/imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mci/imx.c')
-rw-r--r--drivers/mci/imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mci/imx.c b/drivers/mci/imx.c
index 2788fb9d9d..354daba05d 100644
--- a/drivers/mci/imx.c
+++ b/drivers/mci/imx.c
@@ -519,9 +519,9 @@ static int mxcmci_probe(struct device_d *dev)
host->mci.f_min = rate >> 7;
host->mci.f_max = rate >> 1;
- mci_register(&host->mci);
+ mci_of_parse(&host->mci);
- return 0;
+ return mci_register(&host->mci);
}
static __maybe_unused struct of_device_id mxcmci_compatible[] = {