Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / drivers / mmc / host / sdhci-of-esdhc.c
index 239be2fde242fdfc6e0d7607d22fb9aa6c50de88..fb71c866eacc7028918e1abb667b230e784a47f4 100644 (file)
@@ -583,7 +583,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
 
        np = pdev->dev.of_node;
 
-       if (of_get_property(np, "little-endian", NULL))
+       if (of_property_read_bool(np, "little-endian"))
                host = sdhci_pltfm_init(pdev, &sdhci_esdhc_le_pdata,
                                        sizeof(struct sdhci_esdhc));
        else
This page took 0.025984 seconds and 5 git commands to generate.