Message ID | CAPgLHd-Trv1W4+NC2m8=quDpyZ74kHZiY35ZV7f7_PnRZAP+4g@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 6e44025..32d3659 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1948,7 +1948,8 @@ static int omap_hsmmc_probe(struct platform_device *pdev) } if (pdata->init != NULL) { - if (pdata->init(&pdev->dev) != 0) { + ret = pdata->init(&pdev->dev); + if (ret != 0) { dev_err(mmc_dev(host->mmc), "Unable to configure MMC IRQs\n"); goto err_irq_cd_init;