]> git.sur5r.net Git - u-boot/blobdiff - drivers/clk/aspeed/clk_ast2500.c
sf: add Gigadevice gd25q16c entry
[u-boot] / drivers / clk / aspeed / clk_ast2500.c
index ccf47a1da11c648dc6cec27a713f8dcf94d34afc..526470051c5d2e35a3d57aace3c99f67fd04bff4 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * (C) Copyright 2016 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0
  */
 
 #include <common.h>
@@ -429,7 +428,7 @@ static int ast2500_clk_probe(struct udevice *dev)
 {
        struct ast2500_clk_priv *priv = dev_get_priv(dev);
 
-       priv->scu = dev_get_addr_ptr(dev);
+       priv->scu = devfdt_get_addr_ptr(dev);
        if (IS_ERR(priv->scu))
                return PTR_ERR(priv->scu);