mtd: nand: spi: Support GigaDevice GD5F1GQ5UExxG
[pandora-u-boot.git] / cmd / remoteproc.c
index 02d44d4..b3ddceb 100644 (file)
@@ -35,7 +35,7 @@ static int print_remoteproc_list(void)
                uc_pdata = dev_get_uclass_plat(dev);
 
                /* Do not print if rproc is not probed */
-               if (!(dev->flags & DM_FLAG_ACTIVATED))
+               if (!(dev_get_flags(dev) & DM_FLAG_ACTIVATED))
                        continue;
 
                switch (uc_pdata->mem_type) {
@@ -47,7 +47,7 @@ static int print_remoteproc_list(void)
                        break;
                }
                printf("%d - Name:'%s' type:'%s' supports: %s%s%s%s%s%s\n",
-                      dev->seq,
+                      dev_seq(dev),
                       uc_pdata->name,
                       type,
                       ops->load ? "load " : "",