]> Git Repo - u-boot.git/blobdiff - common/spl/spl_sata.c
blk: Switch over to using uclass IDs
[u-boot.git] / common / spl / spl_sata.c
index 1351d78612a5142803fc6d12c184e903a9055c99..ea9f1756c0a2e559f4af8df9cea57daacae612db 100644 (file)
@@ -71,7 +71,7 @@ static int spl_sata_load_image(struct spl_image_info *spl_image,
 
        /* try to recognize storage devices immediately */
        scsi_scan(false);
-       stor_dev = blk_get_devnum_by_type(IF_TYPE_SCSI, 0);
+       stor_dev = blk_get_devnum_by_type(UCLASS_SCSI, 0);
        if (!stor_dev)
                return -ENODEV;
 
This page took 0.021937 seconds and 4 git commands to generate.