of: Always use 'struct device.of_node' to get device node pointer.
[deliverable/linux.git] / drivers / mmc / host / sdhci-of-core.c
index 55e33135edb4dbc60b800e9207b7ae1b0e3b8139..dfe5ceae6794c09392bba1ab8f19f1c54241e25e 100644 (file)
@@ -118,7 +118,7 @@ static bool __devinit sdhci_of_wp_inverted(struct device_node *np)
 static int __devinit sdhci_of_probe(struct of_device *ofdev,
                                 const struct of_device_id *match)
 {
-       struct device_node *np = ofdev->node;
+       struct device_node *np = ofdev->dev.of_node;
        struct sdhci_of_data *sdhci_of_data = match->data;
        struct sdhci_host *host;
        struct sdhci_of_host *of_host;
This page took 0.023592 seconds and 5 git commands to generate.