]> git.sur5r.net Git - u-boot/blobdiff - drivers/remoteproc/rproc-uclass.c
usb: ohci: change the NUM_EDs from 8 to 32
[u-boot] / drivers / remoteproc / rproc-uclass.c
index 200cf61bc948b71c9331fc2b07cf45c12f37046a..1fc3d424b3e24fcb30e334a648de2a0aa0af3e85 100644 (file)
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2015
  * Texas Instruments Incorporated - http://www.ti.com/
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #define pr_fmt(fmt) "%s: " fmt, __func__
 #include <common.h>
@@ -116,7 +116,7 @@ static int rproc_pre_probe(struct udevice *dev)
 
        if (!dev->platdata) {
 #if CONFIG_IS_ENABLED(OF_CONTROL)
-               int node = dev->of_offset;
+               int node = dev_of_offset(dev);
                const void *blob = gd->fdt_blob;
                bool tmp;
                if (!blob) {