summaryrefslogtreecommitdiffstats
path: root/drivers/mci/atmel-sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mci/atmel-sdhci.c')
-rw-r--r--drivers/mci/atmel-sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mci/atmel-sdhci.c b/drivers/mci/atmel-sdhci.c
index 380a79d33e..059a21d774 100644
--- a/drivers/mci/atmel-sdhci.c
+++ b/drivers/mci/atmel-sdhci.c
@@ -135,7 +135,7 @@ static int at91_sdhci_probe(struct device_d *dev)
* if SDCAL pin is wrongly connected, we must enable
* the analog calibration cell permanently.
*/
- priv->cal_always_on = of_property_read_bool(dev->device_node,
+ priv->cal_always_on = of_property_read_bool(dev->of_node,
"microchip,sdcal-inverted");
at91_sdhci_mmio_init(&priv->host, IOMEM(iores->start));