| From | Grant Likely <> | Subject | [PATCH 15/37] drivers/mmc: use .dev.of_node instead of .node in struct of_device | Date | Thu, 11 Mar 2010 11:05:10 -0700 |
| |
.node is being removed
Signed-off-by: Grant Likely <grant.likely@secretlab.ca> ---
drivers/mmc/host/sdhci-of-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sdhci-of-core.c b/drivers/mmc/host/sdhci-of-core.c index 55e3313..dfe5cea 100644 --- a/drivers/mmc/host/sdhci-of-core.c +++ b/drivers/mmc/host/sdhci-of-core.c @@ -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;
|