]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/timer/ast_timer.c
usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH
[people/ms/u-boot.git] / drivers / timer / ast_timer.c
index d7c5460cd3c4813c91de96cc953e958e387a7d26..e194c50f4a76fe23f0a20daf7731a1c15a14f275 100644 (file)
@@ -66,7 +66,7 @@ static int ast_timer_ofdata_to_platdata(struct udevice *dev)
 {
        struct ast_timer_priv *priv = dev_get_priv(dev);
 
-       priv->regs = dev_get_addr_ptr(dev);
+       priv->regs = devfdt_get_addr_ptr(dev);
        if (IS_ERR(priv->regs))
                return PTR_ERR(priv->regs);