mmc: omap_hsmmc: Set 3.3V for IO voltage
[platform/kernel/u-boot.git] / drivers / mmc / tangier_sdhci.c
index 77b18e7..4c33356 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2017 Intel Corporation
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <dm.h>
@@ -36,7 +35,7 @@ static int sdhci_tangier_probe(struct udevice *dev)
        fdt_addr_t base;
        int ret;
 
-       base = dev_get_addr(dev);
+       base = devfdt_get_addr(dev);
        if (base == FDT_ADDR_T_NONE)
                return -EINVAL;